blob: 964c770d33255ca715b21e23c63349670a1d6755 [file] [log] [blame]
# Purpose:
# Check that \DexDeclareFile's file declaration can reference source files
# not included in the test directory
#
# UNSUPPORTED: system-darwin
#
# RUN: %clang %S/../source/test.cpp -O0 -g -o %t
# RUN: %dexter_regression_test --binary %t %s | FileCheck %s
# RUN: rm %t
# CHECK: commands.dex
#
# test.cpp
# 1. int main() {
# 2. int result = 0;
# 3. return result;
# 4. }
DexDeclareFile('../source/test.cpp')
DexExpectWatchValue('result', 0, on_line=3)