commit | 8148c5be54f12dcefcb5415adee709f40772589f | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Thu Jul 16 18:24:47 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Thu Jul 16 18:24:47 2009 -0700 |
tree | cbe411132b5e128f7c81159bba1b087f14234285 | |
parent | dc45646238b8c9a0f124d7ae16bc3d14122d6e7c [diff] [blame] |
Coerce R0 to destination type before storing it into a variable.
diff --git a/libacc/tests/test.py b/libacc/tests/test.py index 8e4795f..909886d 100644 --- a/libacc/tests/test.py +++ b/libacc/tests/test.py
@@ -283,6 +283,9 @@ self.compileCheck(["-R", "data/rollo3.c"], """Executing compiled code: result: 10""", """""") + def testFloatDouble(self): + self.compileCheck(["-R", "data/floatdouble.c"], """Executing compiled code: +result: 0""", """0.002 0.1 10""") if __name__ == '__main__':