Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
safecode
/
tools
/
clang
/
test
/
CXX
/
temp
/
temp.decls
/
temp.mem
/
p3.cpp
blob: 0eb747be207d034c3090d16309bf0774e23ba94a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template
<
class
T
>
struct
AA
{
template
<
class
C
>
virtual
void
g
(
C
);
// expected-error{{'virtual' can not be specified on member function templates}}
virtual
void
f
();
};