diff options
Diffstat (limited to 'tools/slang-unit-test/unit-test-find-check-entrypoint.cpp')
| -rw-r--r-- | tools/slang-unit-test/unit-test-find-check-entrypoint.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/slang-unit-test/unit-test-find-check-entrypoint.cpp b/tools/slang-unit-test/unit-test-find-check-entrypoint.cpp index 75da9aaf0..79a797c5a 100644 --- a/tools/slang-unit-test/unit-test-find-check-entrypoint.cpp +++ b/tools/slang-unit-test/unit-test-find-check-entrypoint.cpp @@ -133,6 +133,5 @@ SLANG_UNIT_TEST(cudaCodeGenBug) ComPtr<slang::IBlob> code; auto res = linkedProgram->getEntryPointCode(0, 0, code.writeRef(), diagnosticBlob.writeRef()); SLANG_CHECK(res == SLANG_OK); - SLANG_CHECK(code != nullptr); - SLANG_CHECK(code->getBufferSize() != 0); + SLANG_CHECK(code != nullptr && code->getBufferSize() != 0); } |
