Debian Codegraph @

gcc/testsuite/g++.dg/lookup/pr60994.C

raw
1 // PR c++/60994
2 // { dg-do compile }
3
4 struct s
5 {
6 static int i;
7 };
8
9 template <typename T>
10 int s()
11 {
12 return s::i; // { dg-bogus "is not a class" }
13 }