Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
warn-member-not-needed.cpp
blob: 61bb3488c611693472f3e3e35017c3b606e4c043 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -Wunneeded-member-function %s
namespace
{
class
A
{
void
g
()
{}
// expected-warning {{is not needed and will not be emitted}}
template
<
typename
T
>
void
foo
()
{
g
();
}
};
}