bolt/deps/llvm-18.1.8/clang/test/SemaCXX/pr9812.cpp
2025-02-14 19:21:04 +01:00

9 lines
221 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
int test(int, char**)
{
bool signed; // expected-error {{'bool' cannot be signed or unsigned}} expected-warning {{declaration does not declare anything}}
return 0;
}