Files
clang-p2996/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/command_line.c
Stephen Tozer b8fc288c46 [Dexter] Replace clang with clang++ in various cross project tests (#65987)
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.
2025-04-03 15:37:43 +01:00

19 lines
521 B
C

// The dbgeng driver doesn't support \DexCommandLine yet.
// UNSUPPORTED: system-windows
//
// RUN: %dexter_regression_test_c_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: command_line.c:
int main(int argc, const char **argv) {
if (argc == 4)
return 0; // DexLabel('retline')
return 1; // DexUnreachable()
}
// DexExpectWatchValue('argc', '4', on_line=ref('retline'))
// Three args will be appended to the 'default' argument.
// DexCommandLine(['a', 'b', 'c'])