Debian Codegraph @

gcc/testsuite/g++.dg/template/static18.C

raw
1 // PR c++/23914
2
3 template <class T>
4 struct foo_template {
5 static const unsigned complexity = 0;
6 };
7
8 template <int x> struct STATIC_ASSERTION {};
9
10 void gcc_402_problem_minimal()
11 {
12 sizeof(STATIC_ASSERTION< foo_template<int>::complexity >);
13 }