Skip to content

Commit 63776bb

Browse files
committed
format new test
1 parent bc12aed commit 63776bb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

compiler-rt/test/tysan/simple_verify_outlines.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33

44
#include <stdio.h>
55

6-
void printInt(int* i){
7-
printf("%d\n", *i);
8-
}
6+
void printInt(int *i) { printf("%d\n", *i); }
97

10-
int main(){
8+
int main() {
119

12-
float value = 5.0f;
13-
printInt((int*)&value);
10+
float value = 5.0f;
11+
printInt((int *)&value);
1412

15-
return 0;
13+
return 0;
1614
}
1715

1816
// CHECK: ERROR: TypeSanitizer: type-aliasing-violation

0 commit comments

Comments
 (0)