r173754 - Test that we print MS keyword attributes without a __declspec(...) adornment.

Richard Smith richard-llvm at metafoo.co.uk
Mon Jan 28 18:31:57 PST 2013


Author: rsmith
Date: Mon Jan 28 20:31:57 2013
New Revision: 173754

URL: http://llvm.org/viewvc/llvm-project?rev=173754&view=rev
Log:
Test that we print MS keyword attributes without a __declspec(...) adornment.

Modified:
    cfe/trunk/test/Sema/attr-print.c

Modified: cfe/trunk/test/Sema/attr-print.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/attr-print.c?rev=173754&r1=173753&r2=173754&view=diff
==============================================================================
--- cfe/trunk/test/Sema/attr-print.c (original)
+++ cfe/trunk/test/Sema/attr-print.c Mon Jan 28 20:31:57 2013
@@ -15,3 +15,10 @@ void foo() __attribute__((const));
 
 // CHECK: void bar() __attribute__((__const));
 void bar() __attribute__((__const));
+
+// FIXME: Print these at a valid location for these attributes.
+// CHECK: int *p32 __ptr32;
+int * __ptr32 p32;
+
+// CHECK: int *p64 __ptr64;
+int * __ptr64 p64;





More information about the cfe-commits mailing list