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