Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
4f95b750534f2111f28434b282bcbd5656002816
/
.
/
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
;