1 // RUN: not %clang %s -S -o - 2>&1 | FileCheck %s 2 // CHECK: In file included from {{.*}}SourceLocationsOverflow.c 3 // CHECK-NEXT: inc1.h{{.*}}: fatal error: sorry, this include generates a translation unit too large for Clang to process. 4 // CHECK-NEXT: #include "inc2.h" 5 // CHECK-NEXT: ^ 6 // CHECK-NEXT: 1 error generated. 7 #include "Inputs/inc1.h" 8 #include "Inputs/inc1.h" 9 #include "Inputs/inc1.h" 10 #include "Inputs/inc1.h" 11 #include "Inputs/inc1.h" 12 #include "Inputs/inc1.h" 13 #include "Inputs/inc1.h" 14 #include "Inputs/inc1.h" 15 #include "Inputs/inc1.h" 16 #include "Inputs/inc1.h" 17 #include "Inputs/inc1.h" 18 #include "Inputs/inc1.h" 19 #include "Inputs/inc1.h" 20 #include "Inputs/inc1.h" 21 #include "Inputs/inc1.h" 22 #include "Inputs/inc1.h" 23 #include "Inputs/inc1.h" 24 #include "Inputs/inc1.h" 25 #include "Inputs/inc1.h" 26