Files
brandon schaefer 3e8cf406a6 Add a header to ensure we include our MinWindows and Windows type headers *before* catch_amalgamated.hpp includes its Windows.h stuff
Fix GraphBenchmark shadow warnings

#rb Neil.Henning, Jason.Weiler
#preflight none

[CL 24723829 by brandon schaefer in ue5-main branch]
2023-03-20 17:13:55 -04:00

15 lines
328 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma autortfm
#include "Catch2Includes.h"
#include <AutoRTFM/AutoRTFM.h>
TEST_CASE("CopyAddInt64")
{
uint64_t X = 0x123456789abcdef0llu;
AutoRTFM::Commit([&] () { X += 0xa1b2c3d4e5f60789llu; });
REQUIRE(X == 0x123456789abcdef0llu + 0xa1b2c3d4e5f60789llu);
}