aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/nsan-basic.c
blob: 7aedaa38d881dea3d33ac57cabf643db899b07ec (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -o - -fsanitize=numerical %s | FileCheck %s

// CHECK: Function Attrs: noinline nounwind optnone sanitize_numerical_stability
float add(float x, float y) {
  float z = x + y;
  return z;
}