]> granicus.if.org Git - clang/commitdiff
De-XFAIL test/Parser/pragma-pack.c
authorDaniel Dunbar <daniel@zuster.org>
Sat, 4 Oct 2008 19:45:56 +0000 (19:45 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 4 Oct 2008 19:45:56 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57069 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/pragma-pack.c

index a2d3a09ed92ec89d48b97e3c589aed086a59348c..3c2196b2b3bbc29f211e33a09043027e7dd9dabd 100644 (file)
@@ -1,5 +1,4 @@
 // RUN: clang -fsyntax-only -verify %s
-// XFAIL
 
 // Note that this puts the expected lines before the directives to work around
 // limitations in the -verify mode.
 #pragma pack(push,i)
 /* expected-warning {{malformed '#pragma pack', expected}}*/ #pragma pack(push,i, 
 /* expected-warning {{malformed '#pragma pack', expected}}*/ #pragma pack(push,i,) 
+/* expected-warning {{malformed '#pragma pack', expected}}*/ #pragma pack(push,i,help) 
 
 #pragma pack(push,8)
-/* expected-warning {{malformed '#pragma pack', expected}}*/ #pragma pack(push,8, 
-/* expected-warning {{malformed '#pragma pack', expected}}*/ #pragma pack(push,8,help) 
+/* expected-warning {{missing ')' after '#pragma pack'}}*/ #pragma pack(push,8, 
 /* expected-warning {{missing ')' after '#pragma pack'}}*/ #pragma pack(push,8,) 
 /* expected-warning {{missing ')' after '#pragma pack'}}*/ #pragma pack(push,i,8 
 #pragma pack(push,i,8)