summaryrefslogtreecommitdiffstats
path: root/tests/new/ParsingFloatCE.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/ParsingFloatCE.java')
-rw-r--r--tests/new/ParsingFloatCE.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/new/ParsingFloatCE.java b/tests/new/ParsingFloatCE.java
new file mode 100644
index 000000000..85106ad7d
--- /dev/null
+++ b/tests/new/ParsingFloatCE.java
@@ -0,0 +1,8 @@
+
+public class ParsingFloatCE {
+ /** @testcase PR#642 PUREJAVA invalid floating-point constant */
+ public void notrun() {
+ float f = 10e-f; // expecting CE here
+ double d = 10ee10; // expecting CE here
+ }
+}