2010-11-26 05:39:17 +08:00
|
|
|
// RUN: %llvmgxx -S %s -o /dev/null -g
|
2009-03-26 00:43:59 +08:00
|
|
|
// XTARGET: darwin,linux
|
2009-03-18 08:44:45 +08:00
|
|
|
// XFAIL: *
|
2009-03-18 03:47:21 +08:00
|
|
|
template <typename T1,typename T2>
|
|
|
|
inline void f(const T1&,const T2&) { }
|
|
|
|
|
|
|
|
template <typename T1,typename T2,void F(const T1&,const T2&)>
|
|
|
|
struct A {
|
|
|
|
template <typename T> void g(T& i) { }
|
|
|
|
};
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
int i;
|
|
|
|
A<int,int,f> a;
|
|
|
|
a.g(i);
|
|
|
|
}
|