Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / gh48974.cpp
blob7963107b06f5ea2981baffcf4c1ba00aae7df219
1 // RUN: %clang_cc1 -Werror=unused-parameter -Wfatal-errors -verify %s
3 void a(int &&s) {} // expected-error{{unused parameter 's'}}
5 void b() {
6 int sum = a(0);