summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/attr-print.cpp
diff options
context:
space:
mode:
authorEnea Zaffanella <zaffanella@cs.unipr.it>2013-06-20 12:46:19 +0000
committerEnea Zaffanella <zaffanella@cs.unipr.it>2013-06-20 12:46:19 +0000
commita86d88c7cdc40bf7102a073196999ee5f810280a (patch)
treea329c9a33b4395fa51d36aef1b8980b1c818ee20 /clang/test/SemaCXX/attr-print.cpp
parent85ae66bf4883eb295c3f8414c782e2cdce2933e5 (diff)
downloadbcm5719-llvm-a86d88c7cdc40bf7102a073196999ee5f810280a.tar.gz
bcm5719-llvm-a86d88c7cdc40bf7102a073196999ee5f810280a.zip
Improved source code fidelity for gcc mode attribute.
llvm-svn: 184417
Diffstat (limited to 'clang/test/SemaCXX/attr-print.cpp')
-rw-r--r--clang/test/SemaCXX/attr-print.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/attr-print.cpp b/clang/test/SemaCXX/attr-print.cpp
index 2e7478904f1..a07eeff5646 100644
--- a/clang/test/SemaCXX/attr-print.cpp
+++ b/clang/test/SemaCXX/attr-print.cpp
@@ -16,3 +16,9 @@ void bar() __attribute__((__const));
// FIXME: Print this with correct format and order.
// CHECK: void foo1() __attribute__((pure)) __attribute__((noinline));
void foo1() __attribute__((noinline, pure));
+
+// CHECK: typedef int Small1 __attribute__((mode(byte)));
+typedef int Small1 __attribute__((mode(byte)));
+
+// CHECK: int small __attribute__((mode(byte)));
+int small __attribute__((mode(byte)));
OpenPOWER on IntegriCloud