OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
ia64-visibility-2.c
1
/* Test visibility attribute. */
2
/* { dg-do link { target ia64*-*-linux* } } */
3
/* { dg-options "-O2 -fpic" } */
4
5
int foo (int x);
6
int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
7
int bar (int x)
8
{
9
return x;
10
}
11
12
int main ()
13
{
14
return 0;
15
}