☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang-tools-extra
/
test
/
clang-tidy
/
checkers
/
altera
/
struct-pack-align-invalid-decl-no-crash.cpp
☽
☼
clang-tools-extra/test/clang-tidy/checkers/altera/struct-pack-align-invalid-decl-no-crash.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %check_clang_tidy -expect-clang-tidy-error %s altera-struct-pack-align %t -- -header-filter=.*
2
3
struct Foo {
4
member; // no-crash
5
};
6
// CHECK-MESSAGES: :[[@LINE-2]]:3: error: a type specifier is required for all declarations [clang-diagnostic-error]