diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-11-01 10:47:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-07 14:28:18 +0000 |
commit | 1ae353c887fdf447e1fe627e3cd29f8fa62c2a05 (patch) | |
tree | a9d31f9c1b75efe0b543e15730432b938f2ebce7 /tests/SkSLErrorTest.cpp | |
parent | 427293c17ee807d014158990770a6efad9a9a4e6 (diff) |
refactored SkSLVarDeclaration out of existence
Bug: skia:
Change-Id: I3dbc08e6d759f6828a472246d4797babb6cc132e
Reviewed-on: https://skia-review.googlesource.com/66147
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'tests/SkSLErrorTest.cpp')
-rw-r--r-- | tests/SkSLErrorTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index 575fd74917..7b7d2b921c 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp @@ -326,7 +326,7 @@ DEF_TEST(SkSLUseWithoutInitialize, r) { "int main() { int r; return r; }", "error: 1: 'r' has not been assigned\n1 error\n"); test_failure(r, - "void main() { int x; int y = x; }", + "void main() { int x; int y = x; sk_FragColor = float4(y); }", "error: 1: 'x' has not been assigned\n1 error\n"); test_failure(r, "void main() { bool x; if (true && (false || x)) return; }", |