Sign in
◑
Theme
cos
/
mirrors
/
github.com
/
llvm
/
llvm-project
/
refs/heads/main
/
.
/
compiler-rt
/
test
/
csan
/
single-thread.cpp
blob: a01f17e10308ad8de9b07c0c01c7d50a6c96afcb [
file
] [
edit
]
// RUN: %clangxx_csan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s --allow-empty
int
Global
;
int
main
()
{
for
(
int
I
=
0
;
I
<
1024
;
++
I
)
Global
++;
return
0
;
}
// CHECK-NOT: WARNING: ConcurrencySanitizer