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

Subversion Repositories openrisc

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

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.