10 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3int 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 1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3int 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