FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.dg / parse / tmpl-outside1.C
blob07c89e25ca62493fcf612c32eac3d8248a15ea88
1 // PR c++/3792
2 // Origin: <david.abrahams@rcn.com>
3 // { dg-do compile }
5 struct X
7    template <int i> struct Y {};
8 };
10 typedef X::template Y<0> y; // { dg-error "template" }