| // Part of the Crubit project, under the Apache License v2.0 with LLVM |
| // Exceptions. See /LICENSE for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // Tests for control flow involving binary operators. |
| #include "nullability_test.h" |
| TEST void testAnd(Nullable<int*> x, Nullable<int*> y) { |
| // Type hasn't changed, even though we know x and y are nonnull. |
| TEST void testOr(Nullable<int*> x, Nullable<int*> y) { |
| TEST void testNeither(Nullable<int*> x, Nullable<int*> y) { |
| TEST void testNotBoth(Nullable<int*> x, Nullable<int*> y) { |