summaryrefslogtreecommitdiff
path: root/clang/test/Parser/cxx-ambig-decl-expr.cpp
blob: b5ff728b47c921b80f1862831627fac2256cc461 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// 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>;
}