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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [alias-3.c] - Blame information for rev 753

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-alias "" } */
3
/* { dg-options "" } */
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.