view clang/test/PCH/cxx-recovery-expr.cpp @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 0572611fdcc8
children
line wrap: on
line source

// Test with pch.
// RUN: %clang_cc1 -emit-pch -frecovery-ast -fallow-pch-with-compiler-errors -o %t %s
// RUN: %clang_cc1 -include-pch %t -fno-validate-pch -emit-llvm -o - %s

#ifndef HEADER
#define HEADER

int func(int);
int s = func();

#else

#endif