Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/opt/pr65074.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// PR middle-end/65074 // { dg-do link { target pie } } // { dg-options "-pie -fpie -O2" } #include <fstream> using namespace std; __attribute__((noinline, noclone)) void foo (const char *fname) { ifstream f (fname); } int main () { foo ("foobar"); }