Debian Codegraph @

gcc/testsuite/g++.dg/overload/defarg12.C

raw
1 // PR c++/89682
2
3 template <typename T>
4 class C {
5 class TagType {};
6 public:
7 C(int, TagType = makeTag());
8 private:
9 static TagType makeTag();
10 };
11
12 void test() {
13 C<int>(1);
14 }