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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [asm-fs-1.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Origin: <hp@bitrange.com>
2
   Make sure we do not get spurious '*' characters in section names or
3
   elsewhere, with asm-specified names.  */
4
/* { dg-do compile } */
5
/* { dg-options "-w -ffunction-sections -fdata-sections" } */
6
 
7
void foo (void) asm ("_bar");
8
void foo (void) {}
9
 
10
extern int foobar asm ("_baz");
11
int foobar = 3;
12
 
13
/* { dg-final { scan-assembler-not "\\*_bar" } } */
14
/* { dg-final { scan-assembler-not "\\*_baz" } } */

powered by: WebSVN 2.1.0

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