]> granicus.if.org Git - clang/commitdiff
Add forgotten test from r268594.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 May 2016 19:16:58 +0000 (19:16 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 May 2016 19:16:58 +0000 (19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268665 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p7.cpp [new file with mode: 0644]

diff --git a/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p7.cpp b/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p7.cpp
new file mode 100644 (file)
index 0000000..6c9379f
--- /dev/null
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -std=c++11 -verify %s
+
+enum class EC { ec };
+using EC::ec; // expected-error {{using declaration cannot refer to a scoped enumerator}}