You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
329 B
9 lines
329 B
// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -verify -std=c++11 %s
|
|
// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -verify -std=c++17 %s
|
|
|
|
// expected-no-diagnostics
|
|
|
|
struct __declspec(dllimport) Foo { int get_a(); };
|
|
template <int (Foo::*Getter)()> struct HasValue { };
|
|
HasValue<&Foo::get_a> hv;
|