Exercise #pragma pack(pop, <width>) in test case.

llvm-svn: 57683
This commit is contained in:
Daniel Dunbar 2008-10-17 16:05:47 +00:00
parent ca01496e59
commit 472175e545
1 changed files with 6 additions and 1 deletions

View File

@ -19,4 +19,9 @@
/* expected-warning {{value of #pragma pack(show) == 1}} */ #pragma pack(show)
#pragma pack(pop, eek)
/* expected-warning {{value of #pragma pack(show) == 2}} */ #pragma pack(show)
/* expected-warning {{#pragma pack(pop, ...) failed: stack empty}} */ #pragma pack(pop)
/* expected-warning {{pack(pop, ...) failed: stack empty}} */ #pragma pack(pop)
#pragma pack(push)
#pragma pack(pop, 16)
/* expected-warning {{value of #pragma pack(show) == 16}} */ #pragma pack(show)