Skip to content

Commit 5c0e520

Browse files
committed
!fixup update tests
1 parent 6b69b26 commit 5c0e520

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler-rt/test/tysan/constexpr-subobject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_tysan -O0 %s -o %t && %run %t >%t.out 2>&1
2-
// RUN: FileCheck %s < %t.out
2+
// RUN: FileCheck --allow-empty %s < %t.out
33

44
// CHECK-NOT: TypeSanitizer
55

compiler-rt/test/tysan/ptr-float.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ void zero_array() {
77
for (i = 0; i < 1; ++i)
88
P[i] = 0.0f;
99
// CHECK: ERROR: TypeSanitizer: type-aliasing-violation
10-
// CHECK: WRITE of size 4 at {{.*}} with type float accesses an existing object of type any pointer
10+
// CHECK: WRITE of size 4 at {{.*}} with type float accesses an existing object of type p1 float
1111
// CHECK: {{#0 0x.* in zero_array .*ptr-float.c:}}[[@LINE-3]]
1212
}
1313

0 commit comments

Comments
 (0)