aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/general/compw.eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa/general/compw.eq.c')
-rw-r--r--test/mppa/general/compw.eq.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/mppa/general/compw.eq.c b/test/mppa/general/compw.eq.c
index f030d86b..dc7a3ab1 100644
--- a/test/mppa/general/compw.eq.c
+++ b/test/mppa/general/compw.eq.c
@@ -1,4 +1,7 @@
-int main(void){
- int a = 5, b = -2;
- return (a == b);
+#include "framework.h"
+
+BEGIN_TEST(int)
+{
+ c = ((a & 0x1) == (b & 0x1));
}
+END_TEST()