diff options
author | aclement <aclement> | 2005-12-01 12:02:08 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-01 12:02:08 +0000 |
commit | 020dc6e3132b505fa928f9ce3c11cc6f824cbec7 (patch) | |
tree | da100585e55a3e65cd3d235ce3a21c6647bcd741 /tests/bugs150 | |
parent | 4da88a25f937a55568a0436a0354950343c3b84f (diff) | |
download | aspectj-020dc6e3132b505fa928f9ce3c11cc6f824cbec7.tar.gz aspectj-020dc6e3132b505fa928f9ce3c11cc6f824cbec7.zip |
testcode for 118326
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr118326/Bar.java | 10 | ||||
-rw-r--r-- | tests/bugs150/pr118326/Foo.java | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs150/pr118326/Bar.java b/tests/bugs150/pr118326/Bar.java new file mode 100644 index 000000000..4f238ae3a --- /dev/null +++ b/tests/bugs150/pr118326/Bar.java @@ -0,0 +1,10 @@ +public aspect Bar { + public int Foo.x = null; // error + + public int Foo.y = 3; + + public int Foo.z = new Integer(42); // autoboxing + + public int Foo.i = "hello"; // error + +} diff --git a/tests/bugs150/pr118326/Foo.java b/tests/bugs150/pr118326/Foo.java new file mode 100644 index 000000000..ec87a846f --- /dev/null +++ b/tests/bugs150/pr118326/Foo.java @@ -0,0 +1,6 @@ +public class Foo { + //int y = null; + public static void main(String[] args) { + Foo f = new Foo(); + } +} |