Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenCXX/no-exceptions.cpp @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line source
// RUN: %clang_cc1 %std_cxx11- -Wno-dynamic-exception-spec %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s void g(); // CHECK: define{{.*}} void @_Z1fv() [[NUW:#[0-9]+]] void f() throw (int) { // CHECK-NOT: invoke void @_Z1gv g(); // CHECK: call void @_Z1gv() // CHECK: ret void } // CHECK: attributes [[NUW]] = { mustprogress noinline nounwind{{.*}} }