llvm-project/clang/test/CodeGen/noexceptionsfpmath.c

9 lines
189 B
C

// RUN: %clang_cc1 -S -fno-trapping-math %s -emit-llvm -o - | FileCheck %s
// CHECK-LABEL: main
// CHECK: attributes #0 = {{.*}}"no-trapping-math"="true"{{.*}}
int main() {
return 0;
}