Add optional keyword argument 'on_line' to DexLabel to label the specifed line instead of the line the command is found on. This will be helpful when used alongside DexDeclareFile (D99651). Reviewed By: TWeaver Differential Revision: https://reviews.llvm.org/D101055
9 lines
345 B
C++
9 lines
345 B
C++
// Purpose:
|
|
// Check that bad keyword args in \DexLabel are reported.
|
|
// Use --binary switch to trick dexter into skipping the build step.
|
|
//
|
|
// RUN: not %dexter_base test --binary %s --debugger 'lldb' -- %s | FileCheck %s
|
|
// CHECK: parser error:{{.*}}err_label_kwarg.cpp(8): unexpected named args: bad_arg
|
|
|
|
// DexLabel('test', bad_arg=0)
|