blob: 68e9f01b2fed8e68916ee44abb5815c13e6dd82a [file] [edit]
/*
* @test /nodynamiccopyright/
* @bug 4153038 4785453 8244146
* @summary strictfp may not be used with constructors
* @author David Stoutamire (dps)
*
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics --release 16 BadConstructorModifiers.java
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -Xlint:-strictfp BadConstructorModifiers.java
*/
public class BadConstructorModifiers {
strictfp BadConstructorModifiers (double abra) { }
}