summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/ast-print.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-24 23:21:11 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-24 23:21:11 +0000
commit4a44beb5fd1b0c4ad720ede3967a5398018c7f47 (patch)
tree61ff04cc89654506a9d4ea7e21d80de6f17b778f /clang/test/SemaCXX/ast-print.cpp
parent36d988f02356a0cbbee86b67830cd3bba2b0241c (diff)
downloadbcm5719-llvm-4a44beb5fd1b0c4ad720ede3967a5398018c7f47.tar.gz
bcm5719-llvm-4a44beb5fd1b0c4ad720ede3967a5398018c7f47.zip
FileCheck'ize test/SemaCXX/qualified-names-print.cpp and merge it to other
-ast-print tests llvm-svn: 173387
Diffstat (limited to 'clang/test/SemaCXX/ast-print.cpp')
-rw-r--r--clang/test/SemaCXX/ast-print.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/ast-print.cpp b/clang/test/SemaCXX/ast-print.cpp
index aeb4039d597..d41c347620f 100644
--- a/clang/test/SemaCXX/ast-print.cpp
+++ b/clang/test/SemaCXX/ast-print.cpp
@@ -81,3 +81,21 @@ struct test9
E a = A;
}
};
+
+namespace test10 {
+ namespace M {
+ template<typename T>
+ struct X {
+ enum { value };
+ };
+ }
+}
+
+typedef int INT;
+
+// CHECK: test11
+// CHECK-NEXT: return test10::M::X<INT>::value;
+int test11() {
+ return test10::M::X<INT>::value;
+}
+
OpenPOWER on IntegriCloud