repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
nsan-basic.c
blob
7aedaa38d881dea3d33ac57cabf643db899b07ec
1
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -o - -fsanitize=numerical %s | FileCheck %s
2
3
// CHECK: Function Attrs: noinline nounwind optnone sanitize_numerical_stability
4
float
add
(
float
x
,
float
y
) {
5
float
z
=
x
+
y
;
6
return
z
;
7
}