Debian Codegraph @

gcc/testsuite/g++.dg/pr54442.C

raw
1 /* { dg-do compile } */
2
3 struct S
4 {
5 void s (int) const throw ();
6 void s (int) throw ();
7 };
8
9 typedef int index_t;
10
11 void (S::*f) (index_t) = &S::s;
12 void (S::*g) (index_t) const = &S::s;