Sign in
fuchsia
/
third_party
/
swift-clang
/
c5af0b2d92d28175e23e5fa7912ffa3180ed0a5f
/
.
/
test
/
CodeGenCXX
/
cxx11-noreturn.cpp
blob: b876bb9661bae6fecd82c9aa465b4ed8e4781856 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -std=c++11 %s -o - | FileCheck %s
int
g
();
// CHECK: _Z1fv(){{.*}} [[NR:#[0-9]+]]
[[
noreturn
]]
int
f
()
{
while
(
g
())
{}
}
// CHECK: attributes [[NR]] = { noreturn nounwind{{.*}} }