Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/pr59626_0.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-lto-do run } */ #define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname) #define ASMNAME2(prefix, cname) STRING (prefix) cname #define STRING(x) #x int __atoi (const char *) __asm__(ASMNAME ("atoi")); extern inline __attribute__((always_inline,gnu_inline)) int atoi (const char *x) { return __atoi (x); } int bar (int (*)(const char *)); int main() { return bar (atoi); }