Browse Source

A test for floating point default arg

pull/395/head
Pyry Kontio 11 years ago committed by Joao Matos
parent
commit
9e318355fa
  1. 4
      tests/CSharpTemp/CSharpTemp.cpp
  2. 1
      tests/CSharpTemp/CSharpTemp.h

4
tests/CSharpTemp/CSharpTemp.cpp

@ -343,6 +343,10 @@ void MethodsWithDefaultValues::defaultRefTypeEnumImplicitCtor(const QColor &fill @@ -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)
{
}

1
tests/CSharpTemp/CSharpTemp.h

@ -269,6 +269,7 @@ public: @@ -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

Loading…
Cancel
Save