~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-elf/comm1.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdio.h>
 
2
#include <stdlib.h>
 
3
 
 
4
int foo;
 
5
void bar (void);
 
6
 
 
7
int
 
8
main ()
 
9
{
 
10
  if (foo != 0)
 
11
    abort ();
 
12
  foo = 200; 
 
13
  bar ();
 
14
  if (foo == 200)
 
15
    printf ("PASS\n");
 
16
  return 0;
 
17
}