Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
89bc314c6ddf3b851ccf68bc34d3f1b5927a10f6
/
.
/
test
/
Sema
/
indirect-goto.c
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}}
}