diff options
author | Stephen Hines <srhines@google.com> | 2013-05-14 13:54:06 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-05-14 13:54:06 -0700 |
commit | f64e76657a98f66c0f3f26014c0a51f55204dc1c (patch) | |
tree | c4f38fc5167984acd3502902a6372a7cb4a76c48 /tests | |
parent | dbb6dc37c377f8dd183f2069a6e27610d1202d98 (diff) | |
download | android_frameworks_compile_slang-f64e76657a98f66c0f3f26014c0a51f55204dc1c.tar.gz android_frameworks_compile_slang-f64e76657a98f66c0f3f26014c0a51f55204dc1c.tar.bz2 android_frameworks_compile_slang-f64e76657a98f66c0f3f26014c0a51f55204dc1c.zip |
Turn off "lax vector conversions".
Bug: 7342914
This language option catches all the terrible implicit vector casts (but not
the explicit vector casts) that we are trying to forbid.
Change-Id: I7cd75326fc72e0c7c74b635c81d7263a257330dd
Diffstat (limited to 'tests')
-rw-r--r-- | tests/F_vector_cast/stderr.txt.expect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/F_vector_cast/stderr.txt.expect b/tests/F_vector_cast/stderr.txt.expect index 4930553..84dfc4d 100644 --- a/tests/F_vector_cast/stderr.txt.expect +++ b/tests/F_vector_cast/stderr.txt.expect @@ -1,5 +1,5 @@ +vector_cast.rs:8:11: error: can't convert between vector values of different size ('float2' and 'int2') +vector_cast.rs:15:11: error: can't convert between vector values of different size ('int3' and 'float3') vector_cast.rs:7:9: error: invalid vector cast -vector_cast.rs:8:13: error: invalid implicit vector cast vector_cast.rs:14:9: error: invalid vector cast -vector_cast.rs:15:13: error: invalid implicit vector cast vector_cast.rs:21:9: error: invalid vector cast |