summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template20.C
blob: 2705f462981033ebc8abf62dea628046e20f19d2 (plain)
1
2
3
4
5
6
7
// PR c++/28858
// { dg-do compile }

template<int N struct A;  // { dg-error "before" }

bool i = 1 > 0;           // { dg-bogus "" }
int j = i;                // { dg-bogus "" }