~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-elfvers/vers7a.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
/*
 
2
 * Test supplied by Ulrich.  Verify that we can correctly force 'a'
 
3
 * to local scope.
 
4
 */
 
5
#include "vers.h"
 
6
 
 
7
int
 
8
__a_internal (int e)
 
9
{
 
10
  return e + 10;
 
11
}
 
12
 
 
13
int
 
14
__b_internal (int e)
 
15
{
 
16
  return e + 42;
 
17
}
 
18
 
 
19
SYMVER(__a_internal, hide_a@@VERS_1);
 
20
SYMVER(__b_internal, show_b@@VERS_1);