diff options
Diffstat (limited to 'test/Import/struct-and-var/test.cpp')
-rw-r--r-- | test/Import/struct-and-var/test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Import/struct-and-var/test.cpp b/test/Import/struct-and-var/test.cpp new file mode 100644 index 000000000000..76f539e41f9f --- /dev/null +++ b/test/Import/struct-and-var/test.cpp @@ -0,0 +1,5 @@ +// RUN: clang-import-test --import %S/Inputs/S1.cpp --import %S/Inputs/S2.cpp -expression %s +void expr() { + struct F f; + int x = f.a; +} |