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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20101014-2_0.C] - Rev 754

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

// { dg-lto-do assemble }

template<class T, unsigned long l>
inline unsigned long foo (T (&)[l]) { return l; }

struct S { char *s[4]; S (); };

S::S () { typedef int T[foo (s) == 4 ? 1 : -1]; }

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.