blob: 4a2b7e5b1afdcddd4a6ee478298b035e3bc4a1d1 [file] [log] [blame]
// PR c++/89682
template <typename T>
class C {
class TagType {};
public:
C(int, TagType = makeTag());
private:
static TagType makeTag();
};
void test() {
C<int>(1);
}