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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [asm-names.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* The name specified by an asm("...") suffix on a declaration is not
2
   to have an underscore prefixed, even if normal symbols are.
3
   Problem reported by Krister Walfridsson <cato@df.lth.se>.  */
4
 
5
/* { dg-do compile } */
6
/* { dg-options "-fleading-underscore" } */
7
/* { dg-final { scan-assembler-not "____frob14" } } */
8
 
9
extern void frobnicate (void) asm ("___frob14");  /* three underscores */
10
 
11
int
12
main (void)
13
{
14
  frobnicate ();
15
  return 0;
16
}

powered by: WebSVN 2.1.0

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