# 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) |