repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pragma-re-1.c
blob
9b9edadc9feb76c681b6b3c4f9d7e1999ad6b236
1
/* { dg-do compile { target *-*-solaris* } } */
2
/* { dg-final { scan-assembler "bar" } } */
3
/* { dg-final { scan-assembler-not "foo" } } */
4
5
#ifndef __PRAGMA_REDEFINE_EXTNAME
6
#error
7
#endif
8
9
#pragma redefine_extname foo bar
10
extern
int
foo
(
void
);
11
int
(*
p
)(
void
) =
foo
;