blob: 2db9d97fd8b001ae142e4876b740aa6587c6e948 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR9463
double *end;
void f() {
{
int end = 0;
goto end;
end = 1;
}
end:
return;
}
void g() {
end = 1; // expected-error{{assigning to 'double *' from incompatible type 'int'}}
}