aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-04 19:45:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-04 19:45:56 +0000
commitf7a726b5f220c0ea924c47b4b1f59b99eb2e5712 (patch)
treea5c99ff1b7ab170359065399c197eb3bd95336a3
parent7499cb59f0fc9cc3a60105aeaa3adc0ae2f180a0 (diff)
De-XFAIL test/Parser/pragma-pack.c
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57069 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Parser/pragma-pack.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Parser/pragma-pack.c b/test/Parser/pragma-pack.c
index a2d3a09ed9..3c2196b2b3 100644
--- a/test/Parser/pragma-pack.c
+++ b/test/Parser/pragma-pack.c
@@ -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.
@@ -19,10 +18,10 @@
#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)