brintos

brintos / llvm-project-archived public Read only

0
0
Text · 164 B · 7963107 Raw
8 lines · cpp
1// RUN: %clang_cc1 -Werror=unused-parameter -Wfatal-errors -verify %s2 3void a(int &&s) {} // expected-error{{unused parameter 's'}}4 5void b() {6  int sum = a(0);7}8