diff options
Diffstat (limited to 'test/Import/call-expr/Inputs/F.cpp')
-rw-r--r-- | test/Import/call-expr/Inputs/F.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Import/call-expr/Inputs/F.cpp b/test/Import/call-expr/Inputs/F.cpp new file mode 100644 index 0000000000000..bd88df99ba417 --- /dev/null +++ b/test/Import/call-expr/Inputs/F.cpp @@ -0,0 +1,10 @@ +namespace NS { +struct X {}; +void f(X) {} +void operator+(X, X) {} +} // namespace NS +void f() { + NS::X x; + f(x); + x + x; +} |