mmix-mmo set SEC_DATA for .data section
[deliverable/binutils-gdb.git] / ld / testsuite / ld-plugin / pr15323a.c
CommitLineData
61315175
L
1#include <stdio.h>
2
3int x;
6d636d8c 4int y;
61315175
L
5
6__attribute__((weak))
6d636d8c 7void foobar (void) { y++; x++; }
61315175
L
8
9int main (void)
10{
11 foobar ();
6d636d8c
L
12 if (y == 0)
13 {
14 if (x == -1)
15 printf ("OK\n");
16 }
17 else
18 {
19 if (x == 1)
20 printf ("OK\n");
21 }
61315175
L
22 return 0;
23}
This page took 0.35342 seconds and 4 git commands to generate.