3d1dcd9bfd
http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor)
11 lines
178 B
C++
11 lines
178 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
struct X {
|
|
template<typename T, typename U>
|
|
static void f(int, int);
|
|
};
|
|
|
|
void f() {
|
|
void (*ptr)(int, int) = &X::f<int, int>;
|
|
}
|