1 // RUN: %clang -target x86_64-unknown-unknown -ccc-print-phases -extract-api %s 2> %t
2 // RUN: echo 'END' >> %t
3 // RUN: FileCheck -check-prefix EXTRACT-API-PHASES -input-file %t %s
5 // EXTRACT-API-PHASES: 0: input,
6 // EXTRACT-API-PHASES-SAME: , c-header
7 // EXTRACT-API-PHASES-NEXT: 1: preprocessor, {0}, c-header-cpp-output
8 // EXTRACT-API-PHASES-NEXT: 2: api-extractor, {1}, api-information
9 // EXTRACT-API-PHASES-NOT: 3:
10 // EXTRACT-API-PHASES: END