[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / CodeGenCXX / cxx11-noreturn.cpp
blobfeea72ef3f4503df08e4eeeeb1980d0d10b640d1
1 // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -std=c++11 %s -o - | FileCheck %s
3 int g();
5 // CHECK: _Z1fv(){{.*}} [[NR:#[0-9]+]]
6 [[noreturn]] int f() {
7 while (g()) {}
10 // CHECK: attributes [[NR]] = { mustprogress noinline noreturn nounwind{{.*}} }