mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-15 22:46:32 +00:00

This patch replaces invocations of clang with clang++ for a set of c++ files in the dexter cross-project tests. As a small additional change, this patch removes -lstdc++ from a test that did not appear to require it.
19 lines
494 B
C++
19 lines
494 B
C++
// Purpose:
|
|
// Check the `view` subtool works with typical inputs.
|
|
//
|
|
// RUN: %dexter_regression_test_cxx_build %s -o %t
|
|
// RUN: %dexter_regression_test_run --binary %t --results %t.results -- %s
|
|
//
|
|
// RUN: %dexter_base view %t.results/view.cpp.dextIR | FileCheck %s
|
|
// CHECK: ## BEGIN
|
|
// CHECK: ## END
|
|
//
|
|
// # [TODO] This doesn't run if FileCheck fails!
|
|
// RUN: rm -rf %t
|
|
|
|
int main() {
|
|
int a = 0;
|
|
return 0; //DexLabel('ret')
|
|
}
|
|
// DexExpectWatchValue('a', '0', on_line=ref('ret'))
|