commit | 36305621a4fe9f0923581441a2a6add64ac3aa19 | [log] [tgz] |
---|---|---|
author | Gunnar Wagenknecht <gunnar@wagenknecht.org> | Tue Mar 15 12:38:25 2022 -0700 |
committer | Javac Team <javac-team+copybara@google.com> | Tue Mar 15 12:39:02 2022 -0700 |
tree | ccf5b1498a6960fe7b73baa3fa15d6a9c5ca3889 | |
parent | d353841899441dfcd61b83fc9fe0187588b230b8 [diff] |
Add test case for https://github.com/bazelbuild/bazel/issues/15053 Test case for reproducing the parser problem reported in https://github.com/bazelbuild/bazel/issues/15053 Fixes #221 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/turbine/pull/221 from guw:main 300e8bf5abb556e96281f1b7d8ae50c0a813a855 PiperOrigin-RevId: 434827555
diff --git a/javatests/com/google/turbine/parse/ParserIntegrationTest.java b/javatests/com/google/turbine/parse/ParserIntegrationTest.java index 2f37a84..c758a74 100644 --- a/javatests/com/google/turbine/parse/ParserIntegrationTest.java +++ b/javatests/com/google/turbine/parse/ParserIntegrationTest.java
@@ -42,6 +42,7 @@ public static Iterable<Object[]> parameters() { String[] tests = { "anno1.input", + "anno2.input", "annodecl1.input", "annodecl2.input", "annodecl3.input",
diff --git a/javatests/com/google/turbine/parse/testdata/anno2.input b/javatests/com/google/turbine/parse/testdata/anno2.input new file mode 100644 index 0000000..60b1901 --- /dev/null +++ b/javatests/com/google/turbine/parse/testdata/anno2.input
@@ -0,0 +1,3 @@ +@Foo(bar = FooBar.Bar[].class) +class Test { +} \ No newline at end of file