1*89a1d03eSRichard // RUN: %check_clang_tidy -expect-clang-tidy-error %s altera-struct-pack-align %t -- -header-filter=.* 2*89a1d03eSRichard 3*89a1d03eSRichard struct A; 4*89a1d03eSRichard struct B { 5*89a1d03eSRichard A a; 6*89a1d03eSRichard // CHECK-MESSAGES: :[[@LINE-1]]:5: error: field has incomplete type 'A' [clang-diagnostic-error] 7*89a1d03eSRichard }; 8