repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU] Removed superfluous predicate. NFC.
[llvm-project.git]
/
clang
/
test
/
PCH
/
suspicious-pragma-pack.c
blob
ac48ad3a8931ec7c3e794452b0983e9ffc495037
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
3
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}}