diff options
Diffstat (limited to 'tests/libsample/functions.cpp')
-rw-r--r-- | tests/libsample/functions.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/libsample/functions.cpp b/tests/libsample/functions.cpp index 8cd77351b..9a0bf2e0e 100644 --- a/tests/libsample/functions.cpp +++ b/tests/libsample/functions.cpp @@ -167,3 +167,14 @@ acceptDouble(double x) return x; } +int +acceptIntReference(int& x) +{ + return x; +} + +OddBool +acceptOddBoolReference(OddBool& x) +{ + return x; +} |