Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
a5728872c7702ddd09537c95bc3cbd20e1f2fb09
/
.
/
test
/
CodeGenCXX
/
throw-expressions.cpp
blob: 9449618f2f2c360cd16079fe9a32fe4f608354d2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm-only -verify %s
int
val
=
42
;
int
&
test1
()
{
return
throw
val
,
val
;
}
int
test2
()
{
return
val
?
throw
val
:
val
;
}