r173765 - Add a test case for attribute print.

Michael Han fragmentshaders at gmail.com
Mon Jan 28 20:13:20 PST 2013


Author: hanm
Date: Mon Jan 28 22:13:20 2013
New Revision: 173765

URL: http://llvm.org/viewvc/llvm-project?rev=173765&view=rev
Log:
Add a test case for attribute print.


Modified:
    cfe/trunk/test/SemaCXX/attr-print.cpp

Modified: cfe/trunk/test/SemaCXX/attr-print.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/attr-print.cpp?rev=173765&r1=173764&r2=173765&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/attr-print.cpp (original)
+++ cfe/trunk/test/SemaCXX/attr-print.cpp Mon Jan 28 22:13:20 2013
@@ -14,3 +14,7 @@ void foo() __attribute__((const));
 
 // CHECK: void bar() __attribute__((__const));
 void bar() __attribute__((__const));
+
+// FIXME: Print this with correct format and order.
+// CHECK: void foo1() __attribute__((pure)) __attribute__((noinline));
+void foo1() __attribute__((noinline, pure));





More information about the cfe-commits mailing list