Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e1919d41a31f0d587373caee962a5a2f2a76478a
/
.
/
test
/
Sema
/
int-arith-convert.c
blob: 254c6c0591a519c01162b6590bf5ff62a8c5eb62 [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s
// Check types are the same through redeclaration
unsigned
long
x
;
__typeof
(
1u
+
1l
)
x
;
unsigned
y
;
__typeof
(
1
+
1u
)
y
;
__typeof
(
1u
+
1
)
y
;
long
long
z
;
__typeof
(
1ll
+
1u
)
z
;