blob: 2330365f7ce12a781ac860941c64af09d009c802 [file] [log] [blame]
// PR c++/55240
// { dg-do compile { target c++11 } }
int main()
{
int q = 1; // { dg-message "declared here" }
struct test { int x = q; } instance; // { dg-error "local variable" }
}