Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using5.C
blobb443b97742f2d73f0292be99538568117dee414a
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5 // PR c++/10554: ICE for member using declaration with failed
6 // scope name lookup.
8 template <typename> struct A
10     typedef A X;
11     void foo();
14 template <typename T> struct B : A<T>
16     using X::foo; // { dg-error "declared|nested-name-specifier|non-member" }