Add a test case for attribute print.
authorMichael Han <fragmentshaders@gmail.com>
Tue, 29 Jan 2013 04:13:20 +0000 (04:13 +0000)
committerMichael Han <fragmentshaders@gmail.com>
Tue, 29 Jan 2013 04:13:20 +0000 (04:13 +0000)
llvm-svn: 173765

clang/test/SemaCXX/attr-print.cpp

index 419f608..c7335c5 100644 (file)
@@ -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));