aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/testdata/CompileWarning.java
diff options
context:
space:
mode:
Diffstat (limited to 'taskdefs/testdata/CompileWarning.java')
-rw-r--r--taskdefs/testdata/CompileWarning.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/taskdefs/testdata/CompileWarning.java b/taskdefs/testdata/CompileWarning.java
new file mode 100644
index 000000000..9f68068af
--- /dev/null
+++ b/taskdefs/testdata/CompileWarning.java
@@ -0,0 +1,10 @@
+
+
+public class CompileWarning {
+ void run() {
+ }
+ static aspect A {
+ declare warning : execution(void CompileWarning.run()) :
+ "expected warning";
+ }
+} \ No newline at end of file