OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / static5.C
1 // { dg-do assemble  }
2
3 template <class T>
4 struct S
5 {
6   static const T t = 3; // { dg-error "" } initializing non-integral type
7 };
8
9 double d = S<double>::t;