diff options
Diffstat (limited to 'Build/source/utils/asymptote/tests/types/resolve.asy')
-rw-r--r-- | Build/source/utils/asymptote/tests/types/resolve.asy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/tests/types/resolve.asy b/Build/source/utils/asymptote/tests/types/resolve.asy index 83dd797e7cc..b668b15490f 100644 --- a/Build/source/utils/asymptote/tests/types/resolve.asy +++ b/Build/source/utils/asymptote/tests/types/resolve.asy @@ -147,6 +147,10 @@ assert(g(y=4.4, 4.4) == 7); assert(!(f != g)); assert(!(g != f)); } +{ +void foo() {} +assert((foo == null ? 5 : 8) == 8); +} // TODO: Add packing vs. casting tests. |