Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / parse / tmpl-outside2.C
blob21f1ac04fbe59aecd22bebd9d31ae56a081fad3c
1 // PR c++/50080
3 template <typename T>
4 struct A
6   template <typename U>
7   struct B {};
8 };
10 template <typename T>
11 void test()
13   typename A<T>::template B<int> b;
16 int main()
18   typename A<double>::template B<int> b; // { dg-error "template|expected" "" { target { ! c++11 } } }