Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3e1af84bb0092a1aafb49deaa4ab6664c9a9071b
/
.
/
test
/
CodeGen
/
trapv.c
blob: c96488b8e99b6bc7c1bb78f597e7e46fc6010f66 [
file
] [
log
] [
blame
]
// RUN: clang-cc -ftrapv %s -emit-llvm -o %t &&
// RUN: grep "__overflow_handler" %t | count 2
unsigned
int
ui
,
uj
,
uk
;
int
i
,
j
,
k
;
void
foo
()
{
ui
=
uj
+
uk
;
i
=
j
+
k
;
}