From 0c4577fc5796b2824da5629f77bf6bf6bdcd4823 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 29 Apr 2023 20:12:00 +0200 Subject: [PATCH] tests/cxx/badinc.cc: remove stddef from expected output --- a/tests/cxx/badinc.cc +++ b/tests/cxx/badinc.cc @@ -1415,7 +1415,6 @@ int main() { typeof(kI1ConstInt) another_const_int = 1; (void)(another_const_int); // This is a C standard macro, but is implemented via a gcc extension too. - // IWYU: offsetof is...* // IWYU: I1_Struct is...*badinc-i1.h (void)(offsetof(I1_Struct, c)); // IWYU: kI1ConstInt is...*badinc-i1.h @@ -1807,7 +1806,6 @@ int main() { tests/cxx/badinc.cc should add these lines: #include -#include #include #include "tests/cxx/badinc-i1.h" class D2_Class; @@ -1836,7 +1834,6 @@ The full include-list for tests/cxx/badinc.cc: #include "tests/cxx/badinc-inl.h" #include // for isascii #include -#include // for offsetof #include // for find #include // for fstream #include // for list -- 2.39.2