brintos

brintos / llvm-project-archived public Read only

0
0
Text · 375 B · f39efd8 Raw
10 lines · cpp
1// RUN: clang-tidy %s -checks=-*,modernize-use-equals-default -- -std=c++11 -fdelayed-template-parsing -fexceptions | count 02// 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 6template <typename Ty>7struct S {8  S<Ty>& operator=(const S<Ty>&) { return *this; }9};10