Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
a6da192bbb3cb2b99200f60726b78e2d3d1f1598
/
.
/
test
/
Sema
/
indirect-goto.c
blob: 134ccd8a707600a7d2da32b8e081b591ff23fe79 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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}}
}