diff options
Diffstat (limited to 'libjava/testsuite/libjava.cni/natlongfield.cc')
-rw-r--r-- | libjava/testsuite/libjava.cni/natlongfield.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.cni/natlongfield.cc b/libjava/testsuite/libjava.cni/natlongfield.cc new file mode 100644 index 000000000..c16a46c76 --- /dev/null +++ b/libjava/testsuite/libjava.cni/natlongfield.cc @@ -0,0 +1,15 @@ +#include <gcj/cni.h> + +#include "longfield.h" +#include <java/lang/System.h> +#include <java/io/PrintStream.h> + +void +longfield::doitc () +{ + java::io::PrintStream *ps = java::lang::System::out; + + ps->println(lval); + ps->println(bval); + ps->println(sval); +} |