~shimon/dismaltc

ref: 1ed81693aae22a7be0136e601ee14b226cce74d4 dismaltc/clang/test/PCH/Inputs/pch-hdrstop-use.cpp -rw-r--r-- 302 bytes
1ed81693Itoh Shimon oops, re-enabled more tests. 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "Inputs/pch-through1.h"
static int bar() { return 42; }
#include "Inputs/pch-through2.h"
int pch();
#pragma hdrstop

//expected-no-diagnostics
//CHECK-NOT: FunctionDecl{{.*}}other
//CHECK: FunctionDecl{{.*}}main
int main()
{
  return pch() - 42*42 + bar() - 42 + through1(0) + through2(33);
}