jdk-24/langtools/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java
Jonathan Gibbons ccd014ed3f 6971882: Remove -XDstdout from javac test
Reviewed-by: darcy
2010-07-26 14:18:45 -07:00

15 lines
349 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4153038 4785453
* @summary strictfp may not be used with constructors
* @author David Stoutamire (dps)
*
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics BadConstructorModifiers.java
*/
public class BadConstructorModifiers {
strictfp BadConstructorModifiers (double abra) { }
}