From 1ae353c887fdf447e1fe627e3cd29f8fa62c2a05 Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Wed, 1 Nov 2017 10:47:43 -0400 Subject: refactored SkSLVarDeclaration out of existence Bug: skia: Change-Id: I3dbc08e6d759f6828a472246d4797babb6cc132e Reviewed-on: https://skia-review.googlesource.com/66147 Reviewed-by: Greg Daniel Commit-Queue: Ethan Nicholas --- tests/SkSLErrorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/SkSLErrorTest.cpp') 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; }", -- cgit v1.2.3