Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/asm-names.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* The name specified by an asm("...") suffix on a declaration is not to have an underscore prefixed, even if normal symbols are. Problem reported by Krister Walfridsson <cato@df.lth.se>. */ /* { dg-do compile } */ /* { dg-options "-fleading-underscore" } */ /* { dg-final { scan-assembler-not "____frob14" } } */ extern void frobnicate (void) asm ("___frob14"); /* three underscores */ int main (void) { frobnicate (); return 0; }