Use __asm__ rather than asm in ld testsuite
[deliverable/binutils-gdb.git] / ld / testsuite / ld-size / size-6a.c
CommitLineData
8fd4256d
L
1#include <stdio.h>
2
3extern char bar[];
07e7fdfd 4extern char size_of_bar __asm__ ("bar@SIZE");
8fd4256d
L
5extern void set_bar (int, int);
6
7int
8main ()
9{
10 set_bar (1, 20);
11 if (10 == (long) &size_of_bar && bar[1] == 20)
12 printf ("OK\n");
13
14 return 0;
15}
This page took 0.372286 seconds and 4 git commands to generate.