test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java

Thu, 16 Oct 2008 07:39:53 -0700

author
jjg
date
Thu, 16 Oct 2008 07:39:53 -0700
changeset 145
2c1ef6ec9413
parent 69
82c7aa6fe50a
child 611
4172cfff05f0
permissions
-rw-r--r--

6759810: bad regression test causes source file to be deleted
Reviewed-by: mcimadamore

     1 /*
     2  * @test  /nodynamiccopyright/
     3  * @bug 4153038 4785453
     4  * @summary strictfp may not be used with constructors
     5  * @author David Stoutamire (dps)
     6  *
     7  * @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -XDstdout BadConstructorModifiers.java
     8  */
    10 public class BadConstructorModifiers {
    12     strictfp BadConstructorModifiers (double abra) { }
    14 }

mercurial