[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / suspicious-pragma-pack.c
blobac48ad3a8931ec7c3e794452b0983e9ffc495037
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 %s -verify -emit-pch -o %t
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 %s -verify -include-pch %t
4 #ifndef HEADER
5 #define HEADER
6 #pragma pack (push, 1)
7 #else
8 #pragma pack (2)
9 #endif
10 // expected-warning@-4 {{unterminated '#pragma pack (push, ...)' at end of file}}