diff options
author | Andy Clement <aclement@pivotal.io> | 2019-11-25 11:05:45 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-11-25 11:05:45 -0800 |
commit | dda1ef9438ba73f35f9c50359705aa6e48c342a6 (patch) | |
tree | f4c68ea8093318a5877cc3991d8d3db6cf2a2865 /tests/features195/textblock | |
parent | 2704db20ecca12d3bbe514a4f7b84d297937de86 (diff) | |
download | aspectj-dda1ef9438ba73f35f9c50359705aa6e48c342a6.tar.gz aspectj-dda1ef9438ba73f35f9c50359705aa6e48c342a6.zip |
first textblock test for Java13
Diffstat (limited to 'tests/features195/textblock')
-rw-r--r-- | tests/features195/textblock/Code.java | 9 | ||||
-rw-r--r-- | tests/features195/textblock/Code2.java | 15 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/features195/textblock/Code.java b/tests/features195/textblock/Code.java new file mode 100644 index 000000000..89df1e537 --- /dev/null +++ b/tests/features195/textblock/Code.java @@ -0,0 +1,9 @@ +public class Code { + public static void main(String[] argv) { + System.out.println(""" + this is a text + block + """); + } +} + diff --git a/tests/features195/textblock/Code2.java b/tests/features195/textblock/Code2.java new file mode 100644 index 000000000..f0b39e08b --- /dev/null +++ b/tests/features195/textblock/Code2.java @@ -0,0 +1,15 @@ +public class Code2 { + public static void main(String[] argv) { + } +} + +aspect X { + + before(): execution(* Code2.main(..)) { + System.out.println(""" + this is a text + block in advice + """); + } +} + |