Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/debug/pr89006.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// PR debug/89006 // { dg-do compile } // { dg-options "-O2 -g -w" } // { dg-additional-options "-fPIC" { target fpic } } // { dg-bogus "non-delegitimized UNSPEC UNSPEC_SET_GOT" "" { target { i?86-*-* x86_64-*-* } } 0 } struct A { A (bool); }; static void foo (const char *x) { new A (x); } void bar () { foo ("foo"); foo ("bar"); }