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 701
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