Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify -Wunneeded-member-function %s
      2 
      3 namespace {
      4   class A {
      5     void g() {} // expected-warning {{is not needed and will not be emitted}}
      6     template <typename T>
      7     void foo() {
      8       g();
      9     }
     10   };
     11 }
     12