jdk-24/langtools/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java

15 lines
349 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @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
2007-12-01 00:00:00 +00:00
*/
public class BadConstructorModifiers {
strictfp BadConstructorModifiers (double abra) { }
}