primitive locals

This commit is contained in:
T0b1
2023-06-17 01:12:11 +02:00
parent 9ab08de243
commit 679e38e711
13 changed files with 1778 additions and 78 deletions

BIN
tmp/main

Binary file not shown.

View File

@@ -2,6 +2,8 @@
#include <unistd.h>
#include <string>
uint32_t my_glob = 42;
namespace test {
enum MyEnum : uint16_t {
ENUM_VAL1 = 10,
@@ -20,6 +22,8 @@ namespace test {
void helper_fn() {
test::MyType tmp = test::MyType{1};
std::string test = "Hello World";
uint32_t x = 25;
unsigned int y = 30;
sleep(tmp.data);
{
test::MyType tmp = test::MyType{2};