summaryrefslogtreecommitdiff
path: root/tests/c11.h
diff options
context:
space:
mode:
authorbd <bdunaisky@umass.edu>2025-04-23 04:22:52 +0000
committerGitHub <noreply@github.com>2025-04-23 04:22:52 +0000
commit9f86141acb20a7188015f0ba3ffc5c8429c2806a (patch)
treecc3011acc6e2ae7c7571280b818004ae315f19ac /tests/c11.h
parente5a4812b685960cdd562bbaf2406c4ce03dceeb0 (diff)
parent3c9d94fcd5592a86279494e919a2261757f4e4f3 (diff)
Merge pull request #7 from bdunahu/bdunahu
Add include guards to C11 test
Diffstat (limited to 'tests/c11.h')
-rw-r--r--tests/c11.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/c11.h b/tests/c11.h
index e5599db..c2ec76e 100644
--- a/tests/c11.h
+++ b/tests/c11.h
@@ -1,3 +1,6 @@
+#ifndef C11_H
+#define C11_HH
+
#include "cache.h"
#include "dram.h"
#include "storage.h"
@@ -52,3 +55,5 @@ class C11
std::array<signed int, LINE_SIZE> expected;
std::array<signed int, LINE_SIZE> actual;
};
+
+#endif /* C11_H_INCLUDED */