[cfe-commits] r57069 - /cfe/trunk/test/Parser/pragma-pack.c
Daniel Dunbar
daniel at zuster.org
Sat Oct 4 12:45:56 PDT 2008
Author: ddunbar
Date: Sat Oct 4 14:45:56 2008
New Revision: 57069
URL: http://llvm.org/viewvc/llvm-project?rev=57069&view=rev
Log:
De-XFAIL test/Parser/pragma-pack.c
Modified:
cfe/trunk/test/Parser/pragma-pack.c
Modified: cfe/trunk/test/Parser/pragma-pack.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/pragma-pack.c?rev=57069&r1=57068&r2=57069&view=diff
==============================================================================
--- cfe/trunk/test/Parser/pragma-pack.c (original)
+++ cfe/trunk/test/Parser/pragma-pack.c Sat Oct 4 14:45:56 2008
@@ -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)
More information about the cfe-commits
mailing list