You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
805 B
26 lines
805 B
// RUN: not %clang %s -S -o - 2>&1 | FileCheck %s
|
|
// CHECK: In file included from {{.*}}SourceLocationsOverflow.c
|
|
// CHECK-NEXT: inc1.h{{.*}}: fatal error: sorry, this include generates a translation unit too large for Clang to process.
|
|
// CHECK-NEXT: #include "inc2.h"
|
|
// CHECK-NEXT: ^
|
|
// CHECK-NEXT: 1 error generated.
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|
|
#include "Inputs/inc1.h"
|