Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/abi/pr60336-1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 // { dg-do compile } |
2 // { dg-options "-O2 -std=c++11 -fno-pic" } | |
3 // { dg-require-effective-target fpic } | |
4 | |
5 struct dummy { }; | |
6 struct true_type { struct dummy i; }; | |
7 | |
8 extern true_type y; | |
9 extern void xxx (true_type c); | |
10 | |
11 void | |
12 yyy (void) | |
13 { | |
14 xxx (y); | |
15 } | |
16 | |
17 // { dg-final { scan-assembler "jmp\[\t \]+\[^\$\]*?_Z3xxx9true_type" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } } |