summaryrefslogtreecommitdiffstats
path: root/tests/new/StrictFpCErr2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/StrictFpCErr2.java')
-rw-r--r--tests/new/StrictFpCErr2.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/new/StrictFpCErr2.java b/tests/new/StrictFpCErr2.java
new file mode 100644
index 000000000..919069e06
--- /dev/null
+++ b/tests/new/StrictFpCErr2.java
@@ -0,0 +1,4 @@
+strictfp abstract class StrictClassBadField {
+ // Has to be an error
+ strictfp float f;
+};