Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -std=c++11 %s -o - | FileCheck %s
      2 
      3 int g();
      4 
      5 // CHECK: _Z1fv(){{.*}} [[NR:#[0-9]+]]
      6 [[noreturn]] int f() {
      7   while (g()) {}
      8 }
      9 
     10 // CHECK: attributes [[NR]] = { noreturn nounwind{{.*}} }
     11