mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 04:41:25 +00:00
10 lines
221 B
C++
10 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;
|
|
}
|
|
|