llvm-for-llvmta/tools/clang/test/Sema/unaligned-qualifier.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

5 lines
239 B
C

// RUN: %clang_cc1 %s -verify -fsyntax-only -fms-extensions
int __unaligned * p1; // expected-note {{previous definition is here}}
int * p1; // expected-error {{redefinition of 'p1' with a different type: 'int *' vs '__unaligned int *'}}