1 // { dg-options "-fshow-column" }
2 // PR c++/13970
3 
4 struct X
5 {
ZuncX6     template< typename Z > Z Zunc()
7     {
8         return Z();
9     }
10 
ZincX11     template< typename Z > void Zinc()
12     {
13     }
14 
tstX15     void tst()
16     {
17         Zunc<int>();
18 
19         Zinc<int>( //);
20 		  //    }
21 
22 }; // { dg-error "2:expected '.' at end of input" "at end of input" }
23    // { dg-error "1:expected primary-expression before '.' token" "primary" { target *-*-* } .-1 }
24    // { dg-error "1:expected unqualified-id" "unqualified-id" { target *-*-* } .-2 }
25