diff options
Diffstat (limited to 'test/Import/local-struct-use-origins/Inputs')
-rw-r--r-- | test/Import/local-struct-use-origins/Inputs/Callee.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Import/local-struct-use-origins/Inputs/Callee.cpp b/test/Import/local-struct-use-origins/Inputs/Callee.cpp new file mode 100644 index 000000000000..96cd2f22e493 --- /dev/null +++ b/test/Import/local-struct-use-origins/Inputs/Callee.cpp @@ -0,0 +1,12 @@ +struct Bar { + void bar(int _a, bool _b) { + { + struct S { int a; }; + S s = { _a }; + } + { + struct S { bool b; }; + S t = { _b }; + } + }; +}; |