repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Sema
/
int-arith-convert.c
blob
0f425bd0e45b03ede761f8c2788e27af3f219c6e
1
// RUN: %clang_cc1 -triple=i686-linux-gnu -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
// Check types are the same through redeclaration
5
unsigned long
x
;
6
__typeof
(
1u
+
1l
)
x
;
7
8
unsigned
y
;
9
__typeof
(
1
+
1u
)
y
;
10
__typeof
(
1u
+
1
)
y
;
11
12
long long
z
;
13
__typeof
(
1ll
+
1u
)
z
;