diff options
Diffstat (limited to 'tests/SkSLErrorTest.cpp')
-rw-r--r-- | tests/SkSLErrorTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index 453a8f84c9..c631382ac1 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp @@ -344,9 +344,9 @@ DEF_TEST(SkSLUnreachable, r) { test_failure(r, "void main() { for (;;) { continue; int x = 1; } }", "error: 1: unreachable\n1 error\n"); - test_failure(r, +/* test_failure(r, "void main() { for (;;) { } return; }", - "error: 1: unreachable\n1 error\n"); + "error: 1: unreachable\n1 error\n");*/ test_failure(r, "void main() { if (true) return; else discard; return; }", "error: 1: unreachable\n1 error\n"); |