From 9e318355fa8c5f2ed370ac68e152581bbcbcac31 Mon Sep 17 00:00:00 2001 From: Pyry Kontio Date: Thu, 11 Dec 2014 19:37:46 +0200 Subject: [PATCH] A test for floating point default arg --- tests/CSharpTemp/CSharpTemp.cpp | 4 ++++ tests/CSharpTemp/CSharpTemp.h | 1 + 2 files changed, 5 insertions(+) diff --git a/tests/CSharpTemp/CSharpTemp.cpp b/tests/CSharpTemp/CSharpTemp.cpp index 4afe726e..58670fe6 100644 --- a/tests/CSharpTemp/CSharpTemp.cpp +++ b/tests/CSharpTemp/CSharpTemp.cpp @@ -343,6 +343,10 @@ void MethodsWithDefaultValues::defaultRefTypeEnumImplicitCtor(const QColor &fill { } +void MethodsWithDefaultValues::rotate4x4Matrix(float angle, float x, float y, float z) +{ +} + void HasPrivateOverrideBase::privateOverride(int i) { } diff --git a/tests/CSharpTemp/CSharpTemp.h b/tests/CSharpTemp/CSharpTemp.h index cc5bd8b5..0324aa47 100644 --- a/tests/CSharpTemp/CSharpTemp.h +++ b/tests/CSharpTemp/CSharpTemp.h @@ -269,6 +269,7 @@ public: void defaultImplicitCtorFoo(Quux arg = Foo()); void defaultIntWithLongExpression(unsigned int i = DEFAULT_INT); void defaultRefTypeEnumImplicitCtor(const QColor &fillColor = Qt::white); + void rotate4x4Matrix(float angle, float x, float y, float z = 0.0f); }; class DLL_API HasPrivateOverrideBase