| 1 |
// RUN: %clang_cc1 -fsyntax-only -fdelayed-template-parsing -Wunused-private-field -Wused-but-marked-unused -Wno-uninitialized -verify -std=c++11 %s |
| 2 |
// expected-no-diagnostics |
| 3 |
|
| 4 |
class EverythingMayBeUsed { |
| 5 |
int x; |
| 6 |
public: |
| 7 |
template <class T> |
| 8 |
void f() { |
| 9 |
x = 0; |
| 10 |
} |
| 11 |
}; |