Skip to content

Commit 3d0f44f

Browse files
authored
[rtsan] Add basic test for c compilation (#107717)
I was reminded of realtime-sanitizer/rtsan#25, where we were including C++ code that was never linked in C. Adding this test to ensure that we don't break this functionality in the future
1 parent 0e775b8 commit 3d0f44f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/test/rtsan/basic.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %clangxx -fsanitize=realtime %s -o %t
2+
// RUN: %clang -fsanitize=realtime %s -o %t
23
// RUN: not %run %t 2>&1 | FileCheck %s
34
// UNSUPPORTED: ios
45

0 commit comments

Comments
 (0)