mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-12 06:45:16 +00:00
resolver: Validate that a call statement has no return value
Also split out validation tests from call_test.cc into call_validation_test.cc. Bug: tint:886 Change-Id: I1e1dee9b7c348363e89080cdecd3119cc004658f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54063 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
@@ -97,7 +97,7 @@ fn f1(p0 : f32, p1 : i32) -> f32 {
|
||||
|
||||
[[stage(fragment)]]
|
||||
fn main() {
|
||||
f1(1.0, 2);
|
||||
ignore(f1(1.0, 2));
|
||||
}
|
||||
|
||||
let declaration_order_check_0 : i32 = 1;
|
||||
|
||||
Reference in New Issue
Block a user