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)
|
|
|
|
*
|
2010-07-26 14:18:45 -07:00
|
|
|
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics BadConstructorModifiers.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class BadConstructorModifiers {
|
|
|
|
|
|
|
|
strictfp BadConstructorModifiers (double abra) { }
|
|
|
|
|
|
|
|
}
|