Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
test
/
CodeGenCXX
/
cxx11-noreturn.cpp
blob: 31c651d75efcf99c10b585706f0860030fbb18b3 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -std=c++11 %s -o - | FileCheck %s
int
g
();
// CHECK: _Z1fv(){{.*}} [[NR:#[0-9]+]]
[[
noreturn
]]
int
f
()
{
while
(
g
())
{}
}
// CHECK: attributes [[NR]] = { noreturn nounwind{{.*}} }