llvm/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex

# Purpose:
#    Check that \DexDeclareFile's file declaration can reference source files
#    in a precompiled binary.
#
# UNSUPPORTED: system-darwin
#
# RUN: %dexter_regression_test_build %S/test.cpp -o %t
# RUN: %dexter_regression_base --binary %t %s | FileCheck %s
# CHECK: commands.dex
#
# test.cpp
# 1. int main() {
# 2.   int result = 0;
# 3.   return result;
# 4. }

DexDeclareFile('test.cpp')
DexExpectWatchValue('result', 0, on_line=3)