predicate aware uninitialized analysis
[official-gcc.git] / gcc / testsuite / g++.dg / parse / template19.C
blobdc1a67334b528891f3e65c072ce6cb3b9db4d9ec
1 // PR c++/26558
2 // Origin: Jan Gorski <slimak@yk74.internetdsl.tpnet.pl>
3 // { dg-do compile }
5 template<int> struct A
7   template<int> void foo()
8   {
9     foo<0>::; // { dg-error "before" }
10   }