summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/error14.C
blob: b3c930188e39c9808cfae636bfc05f01a5ffcdda (plain)
1
2
3
4
5
6
7
//PR c++/26269

void foo()
{
    i;          // { dg-error "not declared in this scope" }
    int i;
}