Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / ext / static1.C
blob9298b1d573b130558aef5c4ca8bdfbbd50f9466e
1 // PR c++/23699
2 // { dg-options "" }
4 template<typename _CharT > class basic_string;
5 typedef basic_string<char> string;
6 template<typename _CharT>
7 struct basic_string
9   static const int npos = -1;
11 template<typename _CharT>
12 const int basic_string<_CharT>::npos;
14 extern template class basic_string<char>;
15 struct A
17   static const long npos = string::npos;