aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/testregisters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/tests/testregisters.cpp')
-rw-r--r--qtmips_machine/tests/testregisters.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/tests/testregisters.cpp b/qtmips_machine/tests/testregisters.cpp
index b498c11..57a6479 100644
--- a/qtmips_machine/tests/testregisters.cpp
+++ b/qtmips_machine/tests/testregisters.cpp
@@ -2,6 +2,8 @@
#include <qtmipsexception.h>
#include <registers.h>
+using namespace machine;
+
void MachineTests::registers_gp0() {
Registers r;
QCOMPARE(r.read_gp(0), (unsigned)0);