Files
neil henning 735dba3d91 Remove the older and unused pragma approach to enabling AutoRTFM.
This pragma didn't work with our unity builds, and we moved away from it anyway.

#rb michael.nicolella

[CL 32322029 by neil henning in ue5-main branch]
2024-03-19 07:54:11 -04:00

12 lines
309 B
C++

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