aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Support/IntegersSubsetTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Support/IntegersSubsetTest.cpp')
-rw-r--r--unittests/Support/IntegersSubsetTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Support/IntegersSubsetTest.cpp b/unittests/Support/IntegersSubsetTest.cpp
index 5de1f7c..836f29a 100644
--- a/unittests/Support/IntegersSubsetTest.cpp
+++ b/unittests/Support/IntegersSubsetTest.cpp
@@ -22,6 +22,7 @@ namespace {
class Int : public APInt {
public:
Int(uint64_t V) : APInt(64, V) {}
+ Int(const APInt& Src) : APInt(Src) {}
bool operator < (const APInt& RHS) const { return ult(RHS); }
bool operator > (const APInt& RHS) const { return ugt(RHS); }
bool operator <= (const APInt& RHS) const { return ule(RHS); }