100% coverage
This commit is contained in:
parent
49ed7c5df5
commit
92f4b4f561
52 changed files with 143 additions and 48 deletions
4
test/unsupported/address_of_pointer.c
Normal file
4
test/unsupported/address_of_pointer.c
Normal file
|
@ -0,0 +1,4 @@
|
|||
int main() {
|
||||
int* p;
|
||||
&p;
|
||||
}
|
1
test/unsupported/array_of_pointer_arg.c
Normal file
1
test/unsupported/array_of_pointer_arg.c
Normal file
|
@ -0,0 +1 @@
|
|||
void f(int* a[]) {}
|
1
test/unsupported/array_of_pointer_global.c
Normal file
1
test/unsupported/array_of_pointer_global.c
Normal file
|
@ -0,0 +1 @@
|
|||
int* a[10];
|
3
test/unsupported/array_of_pointer_local.c
Normal file
3
test/unsupported/array_of_pointer_local.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
void f() {
|
||||
int* a[10];
|
||||
}
|
3
test/unsupported/not_direct_call.c
Normal file
3
test/unsupported/not_direct_call.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
int main() {
|
||||
(main)();
|
||||
}
|
5
test/unsupported/too_many_arg.c
Normal file
5
test/unsupported/too_many_arg.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
void f();
|
||||
|
||||
int main() {
|
||||
f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
|
||||
}
|
1
test/unsupported/too_many_param.c
Normal file
1
test/unsupported/too_many_param.c
Normal file
|
@ -0,0 +1 @@
|
|||
void f(int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8) {}
|
Loading…
Add table
Add a link
Reference in a new issue