Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/static5.C

raw
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;