diff options
| author | Chong Yidong | 2009-09-20 04:00:13 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-09-20 04:00:13 +0000 |
| commit | 17af2991b5bd71ed2d3d69fd4467e1fc8a31d8d1 (patch) | |
| tree | 8ff33ff92ead70e1a3aeead0d1334b4aedac027b /test/cedet/tests/scopetest.java | |
| parent | 00999a2ef0648870573dcb3a3866c6401db8bc28 (diff) | |
| download | emacs-17af2991b5bd71ed2d3d69fd4467e1fc8a31d8d1.tar.gz emacs-17af2991b5bd71ed2d3d69fd4467e1fc8a31d8d1.zip | |
Add Semantic unit tests.
Diffstat (limited to 'test/cedet/tests/scopetest.java')
| -rw-r--r-- | test/cedet/tests/scopetest.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/cedet/tests/scopetest.java b/test/cedet/tests/scopetest.java new file mode 100644 index 00000000000..01825896b47 --- /dev/null +++ b/test/cedet/tests/scopetest.java | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | class Foo { | ||
| 2 | |||
| 3 | public void a1() {} | ||
| 4 | |||
| 5 | class Bar { | ||
| 6 | |||
| 7 | public int a2() {} | ||
| 8 | |||
| 9 | public void b() { | ||
| 10 | a // -1- | ||
| 11 | } | ||
| 12 | |||
| 13 | class Baz { | ||
| 14 | |||
| 15 | public int a3() {} | ||
| 16 | |||
| 17 | public Baz(int a4) { | ||
| 18 | a // -2- | ||
| 19 | } | ||
| 20 | |||
| 21 | } | ||
| 22 | |||
| 23 | } | ||
| 24 | |||
| 25 | } \ No newline at end of file | ||