Eli Friedman | 3308382 | 2009-03-26 07:32:37 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
2 | |||||
3 | struct c {int x;}; | ||||
4 | int a(struct c x, long long y) { | ||||
5 | goto *x; // expected-error{{incompatible type}} | ||||
6 | goto *y; // expected-warning{{incompatible integer to pointer conversion}} | ||||
7 | } | ||||
8 |