[cfe-commits] r57683 - /cfe/trunk/test/Sema/pragma-pack.c
Daniel Dunbar
daniel at zuster.org
Fri Oct 17 09:05:47 PDT 2008
Author: ddunbar
Date: Fri Oct 17 11:05:47 2008
New Revision: 57683
URL: http://llvm.org/viewvc/llvm-project?rev=57683&view=rev
Log:
Exercise #pragma pack(pop, <width>) in test case.
Modified:
cfe/trunk/test/Sema/pragma-pack.c
Modified: cfe/trunk/test/Sema/pragma-pack.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/pragma-pack.c?rev=57683&r1=57682&r2=57683&view=diff
==============================================================================
--- cfe/trunk/test/Sema/pragma-pack.c (original)
+++ cfe/trunk/test/Sema/pragma-pack.c Fri Oct 17 11:05:47 2008
@@ -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)
+
More information about the cfe-commits
mailing list