Sign in
llvm
/
clang
/
refs/heads/release_60
/
.
/
test
/
SemaCXX
/
dllimport-memptr.cpp
blob: 35bf5b8610b5ee68e7cde1cc1e28aafb4e7fb085 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -verify -std=c++11 %s
// expected-no-diagnostics
struct
__declspec
(
dllimport
)
Foo
{
int
get_a
();
};
template
<
int
(
Foo
::*
Getter
)()>
struct
HasValue
{
};
HasValue
<&
Foo
::
get_a
>
hv
;