2 // RUN: split-file %s %t
3 // RUN: %clang_cc1 -extract-api -triple arm64-apple-macosx \
4 // RUN: --extract-api-ignores=%t/ignores-list1,%t/ignores-list2,%t/ignores-list3 \
5 // RUN: -x c-header %t/input.h -verify -o - | FileCheck %t/input.h
8 #define IGNORED_6_FILE1 6
9 #define IGNORED_2_FILE1 2
10 #define IGNORED_5_FILE1 5
12 #define IGNORED_4_FILE2 4
13 #define IGNORED_3_FILE2 3
15 typedef double IGNORED_1_FILE3
;
16 typedef int IGNORED_7_FILE3
;
18 typedef float NonIgnored
;
20 // CHECK-NOT: IGNORED_6_FILE1
21 // CHECK-NOT: IGNORED_2_FILE1
22 // CHECK-NOT: IGNORED_5_FILE1
24 // CHECK-NOT: IGNORED_4_FILE2
25 // CHECK-NOT: IGNORED_3_FILE2
27 // CHECK-NOT: IGNORED_1_FILE3
28 // CHECK-NOT: IGNORED_7_FILE3
31 // expected-no-diagnostics