mirror of https://github.com/rui314/chibicc
20 lines
377 B
C
20 lines
377 B
C
#include "test.h"
|
|
|
|
_Noreturn noreturn_fn(int restrict x) {
|
|
exit(0);
|
|
}
|
|
|
|
void funcy_type(int arg[restrict static 3]) {}
|
|
|
|
int main() {
|
|
{ volatile x; }
|
|
{ int volatile x; }
|
|
{ volatile int x; }
|
|
{ volatile int volatile volatile x; }
|
|
{ int volatile * volatile volatile x; }
|
|
{ auto ** restrict __restrict __restrict__ const volatile *x; }
|
|
|
|
printf("OK\n");
|
|
return 0;
|
|
}
|