blob: 35fb5e6315e2b688d100196e10d5066b51dc6376 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
struct c {int x;};
int a(struct c x, long long y) {
goto *x; // expected-error{{incompatible type}}
goto *y; // expected-warning{{incompatible integer to pointer conversion}}
}