Commit d7543b90 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #235 from undingen/floorDivIntTest

Add missing FloorDivInt test
parents 35c3b424 ade57259
......@@ -35,7 +35,10 @@ public:
Set s;
BoxedSet(BoxedClass* cls) __attribute__((visibility("default"))) : Box(cls) {}
BoxedSet(Set&& s, BoxedClass* cls) __attribute__((visibility("default"))) : Box(cls), s(s) {}
template <typename T>
__attribute__((visibility("default"))) BoxedSet(T&& s, BoxedClass* cls)
: Box(cls), s(std::forward<T>(s)) {}
};
}
......
......@@ -36,6 +36,11 @@ try:
except TypeError, e:
print e
try:
f(2.0, 1)
except TypeError, e:
print e
try:
f(2, -2)
except ValueError, e:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment