// 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();
    }
  };
}

Add missing test for -Wunneeded-member-functions.
Add missing test for -Wunneeded-member-functions.



git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@184371 91177308-0d34-0410-b5e6-96231b3b80d8
