Sign in
fuchsia
/
third_party
/
swift-clang
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2017-02-06-a
/
.
/
test
/
CodeGenCXX
/
cxx11-noreturn.cpp
blob: 58a5a377133a597f06499e5b7f872d19b9776ff6 [
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]] = { noinline noreturn nounwind{{.*}} }