OSDN Git Service

2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lto / 20101014-2_0.C
1 // { dg-lto-do assemble }
2
3 template<class T, unsigned long l>
4 inline unsigned long foo (T (&)[l]) { return l; }
5
6 struct S { char *s[4]; S (); };
7
8 S::S () { typedef int T[foo (s) == 4 ? 1 : -1]; }