11 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -std=c++11 %s -o - | FileCheck %s2 3int g();4 5// CHECK: _Z1fv(){{.*}} [[NR:#[0-9]+]]6[[noreturn]] int f() {7 while (g()) {}8}9 10// CHECK: attributes [[NR]] = { mustprogress noinline noreturn nounwind{{.*}} }11