OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pragma-re-1.c] - Blame information for rev 149

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.