☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGenCXX
/
PR37481.cpp
☽
☼
clang/test/CodeGenCXX/PR37481.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -o /dev/null -emit-llvm -std=c++17 -triple x86_64-pc-windows-msvc %s
2
3
struct Foo {
4
virtual void f();
5
virtual void g();
6
};
7
8
void Foo::f() {}
9
void Foo::g() {}
10
11
template <void (Foo::*)()>
12
void h() {}
13
14
void x() {
15
h<&Foo::f>();
16
h<&Foo::g>();
17
}