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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [alias-4.c] - Blame information for rev 455

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-alias "" } */
3
/* { dg-options "-O2 -funit-at-a-time" } */
4
 
5
extern int foo();
6
 
7
int baz () { return foo(); }
8
 
9
static inline int bar () __attribute__ ((alias ("foo"))); /* { dg-error "aliased to" } */
10
 
11
int main () { return bar (); }

powered by: WebSVN 2.1.0

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