mirror of
https://github.com/autc04/Retro68.git
synced 2025-03-02 10:30:00 +00:00
48 lines
522 B
C
48 lines
522 B
C
#include <stdlib.h>
|
|
|
|
#pragma omp nothing
|
|
|
|
struct S
|
|
{
|
|
#pragma omp nothing
|
|
int s;
|
|
};
|
|
|
|
int
|
|
foo (int i)
|
|
{
|
|
#pragma omp nothing
|
|
if (0)
|
|
#pragma omp nothing
|
|
i++;
|
|
if (1)
|
|
;
|
|
else
|
|
#pragma omp nothing
|
|
i++;
|
|
switch (0)
|
|
#pragma omp nothing
|
|
{
|
|
default:
|
|
break;
|
|
}
|
|
while (0)
|
|
#pragma omp nothing
|
|
i++;
|
|
for (; 0;)
|
|
#pragma omp nothing
|
|
i++;
|
|
lab:
|
|
#pragma omp nothing
|
|
i++;
|
|
return i;
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
if (foo (5) != 6 || foo (-2) != -1)
|
|
abort ();
|
|
return 0;
|
|
}
|