Skip to content

Commit edaaeb1

Browse files
committed
update test to remove useless errors
1 parent 88b2b07 commit edaaeb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/test/Sema/types.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ typedef int *S[2];
1212
restrict S y; // expected-warning {{'restrict' qualifier on an array of pointers is a C23 extension}}
1313

1414
// int128_t is available.
15-
int a(void) {
15+
void a(void) {
1616
__int128_t s;
1717
__uint128_t t;
18-
} // expected-warning {{non-void function does not return a value}}
18+
}
1919

2020
// but not a keyword
21-
int b(void) {
21+
void b(void) {
2222
int __int128_t;
2323
int __uint128_t;
24-
} // expected-warning {{non-void function does not return a value}}
24+
}
2525

2626
// __int128 is a keyword
2727
int c(void) {

0 commit comments

Comments
 (0)