xref: /llvm-project/clang/test/SemaCXX/pr9812.cpp (revision 888d52a6556eec27341ba635a64315dd08c269aa)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
test(int,char **)3 int test(int, char**)
4 {
5     bool signed; // expected-error {{'bool' cannot be signed or unsigned}} expected-warning {{declaration does not declare anything}}
6 
7     return 0;
8 }
9 
10