Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / parse / error14.C
blob37a3d2001ffb2796f8bb3ff645e130b02db5f1a7
1 // { dg-options "-fshow-column" }
2 // PR c++/13970
4 struct X
6     template< typename Z > Z Zunc()
7     {
8         return Z();
9     }
11     template< typename Z > void Zinc()
12     {
13     }
15     void tst()
16     {
17         Zunc<int>();
19         Zinc<int>( //);
20                   //    }
22 }; // { dg-error "2:expected '.' at end of input" "at end of input" }
23    // { dg-error "1:expected primary-expression before '.' token" "primary" { target *-*-* } 22 }
24    // { dg-error "1:expected unqualified-id" "unqualified-id" { target *-*-* } 22 }