aboutsummaryrefslogtreecommitdiff
path: root/test/Coverage/cxx-language-features.inc
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-05-30 06:31:56 +0000
committerDouglas Gregor <dgregor@apple.com>2009-05-30 06:31:56 +0000
commit8419fa3af97208eb00f0cd6c62354ce4ff986677 (patch)
treef88ac48fbd0080cb615e6c7dbed6224d79d4aadc /test/Coverage/cxx-language-features.inc
parent6620a628b0a02c78741b8f31790d4c1186aa4038 (diff)
Printing for using directives, e.g.,
using namespace std::debug; Extended UsingDirectiveDecl to store the nested-name-specifier that precedes the nominated namespace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Coverage/cxx-language-features.inc')
-rw-r--r--test/Coverage/cxx-language-features.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Coverage/cxx-language-features.inc b/test/Coverage/cxx-language-features.inc
new file mode 100644
index 0000000000..92c9fd6f27
--- /dev/null
+++ b/test/Coverage/cxx-language-features.inc
@@ -0,0 +1,12 @@
+//-*- C++ -*-
+
+// Intended to exercise all syntactic parts of the C++ language that
+// aren't part of C.
+
+namespace std {
+ namespace debug {
+ }
+}
+
+using namespace std::debug;
+using namespace std;