Sign in
llvm
/
clang
/
refs/heads/release_27
/
.
/
test
/
CodeGen
/
trapv.c
blob: d10d6176bf9438582639a8916eda88df8dd49cf8 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
;
}