brintos

brintos / llvm-project-archived public Read only

0
0
Text · 259 B · 5688c03 Raw
7 lines · cpp
1// RUN: %check_clang_tidy -expect-clang-tidy-error %s altera-struct-pack-align %t -- -header-filter=.*2 3struct Foo {4  member; // no-crash5};6// CHECK-MESSAGES: :[[@LINE-2]]:3: error: a type specifier is required for all declarations [clang-diagnostic-error]7