diff options
| author | ruki <[email protected]> | 2021-10-19 00:06:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-19 00:06:00 +0800 |
| commit | 1ec16d7882188dd817ccb23be43359aa4d045d24 (patch) | |
| tree | 30fc66266beb67ffef78d0079ffaf11613e3a047 /tests/projects/c++/unity_build/src/bar/test5.cpp | |
| parent | 7f5c18288cf287abe44e57046a80ef7db0c0b0da (diff) | |
add uniqueid
Diffstat (limited to 'tests/projects/c++/unity_build/src/bar/test5.cpp')
| -rw-r--r-- | tests/projects/c++/unity_build/src/bar/test5.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/projects/c++/unity_build/src/bar/test5.cpp b/tests/projects/c++/unity_build/src/bar/test5.cpp index 2a3e7066c..afff0b46c 100644 --- a/tests/projects/c++/unity_build/src/bar/test5.cpp +++ b/tests/projects/c++/unity_build/src/bar/test5.cpp @@ -2,7 +2,12 @@ // main.cpp #include "header.h" +namespace MY_UNITY_ID { + int i = 42; +} + int test5() { - return 0; + return MY_UNITY_ID::i; } + |
