OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [pr44486.C] - Rev 818

Go to most recent revision | Compare with Previous | Blame | View Log

// 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" } }

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.