llvm-for-llvmta/tools/clang/test/Sema/unaligned-qualifier.c

5 lines
239 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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 *'}}