| 1 | // RUN: clang-tidy %s -checks=-*,modernize-use-equals-default -- -std=c++11 -fdelayed-template-parsing -fexceptions | count 0 |
|---|---|
| 2 | // Note: this test expects no diagnostics, but FileCheck cannot handle that, |
| 3 | // hence the use of | count 0. |
| 4 | // FIXME: Make the test work in all language modes. |
| 5 | |
| 6 | template <typename Ty> |
| 7 | struct S { |
| 8 | S<Ty>& operator=(const S<Ty>&) { return *this; } |
| 9 | }; |
| 10 |
