2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / static5.C
blobaed6208d5bec0a4cff1d4afa3f5fd23b99a24463
1 // { dg-do assemble  }
3 template <class T>
4 struct S
6   static const T t = 3; // { dg-error "" } initializing non-integral type
7 };
9 double d = S<double>::t;