blob: 5cb63b49ee9aeca7f27314147980f1fc9625d821 [file] [log] [blame]
Douglas Gregor79c22782010-01-16 20:21:20 +00001// RUN: %clang_cc1 -verify %s
2template<typename T>
3void f0() {
4 struct X;
5 typedef struct Y {
6 T (X::* f1())(int) { return 0; }
7 } Y2;
8
9 Y2 y = Y();
10}
11
12template void f0<int>();