Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11
// 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(); } }; }