1 // RUN: %check_clang_tidy %s portability-restrict-system-includes %t \
2 // RUN: -- -config="{CheckOptions: [{key: portability-restrict-system-includes.Includes, value: '*,-stddef.h'}]}" \
3 // RUN: -- -isystem %S/Inputs/portability-restrict-system-includes/system
5 // Test block-list functionality: allow all but stddef.h.
8 // CHECK-MESSAGES: :[[@LINE-1]]:1: warning: system include stddef.h not allowed