view gcc/testsuite/g++.dg/pr44486.C @ 123:ab229f40eab2

fix inline_call
author mir3636
date Fri, 30 Mar 2018 22:58:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

// PR c++/44486 missing space in __PRETTY_FUNCTION__ expansion in anonymous namespace
// { dg-do compile }
// { dg-options "" }

struct S { };
namespace { S f() { const char * s = __PRETTY_FUNCTION__; return S(); } }

int main() { f(); }

// { dg-final { scan-assembler "S \{anonymous\}::f" } }