]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Sat, 19 Mar 2005 14:01:01 +0000 (14:01 +0000)
committerNo Author <no-author@gcc.gnu.org>
Sat, 19 Mar 2005 14:01:01 +0000 (14:01 +0000)
'gcc-3_4-branch'.

From-SVN: r96728

gcc/testsuite/g++.dg/lookup/using13.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/lookup/using13.C b/gcc/testsuite/g++.dg/lookup/using13.C
new file mode 100644 (file)
index 0000000..c102fdc
--- /dev/null
@@ -0,0 +1,12 @@
+// { dg-do compile }
+
+// Origin: Stefan Straßer <sstrasser@systemhaus-gruppe.de>
+
+// PR c++/20240: 
+
+namespace A { int a; }
+
+namespace C{
+  int a;
+  using A::a;          // { dg-error "already declared" }
+}