bolt/deps/llvm-18.1.8/clang/test/SemaCXX/implicit-int.cpp

6 lines
214 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
x; // expected-error{{a type specifier is required for all declarations}}
f(int y) { return y; } // expected-error{{a type specifier is required for all declarations}}