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