summaryrefslogtreecommitdiff
path: root/tests/headers/constify-module-enums-types.hpp
diff options
context:
space:
mode:
authorTravis Finkenauer <tmfinken@gmail.com>2017-06-16 21:20:05 -0700
committerTravis Finkenauer <tmfinken@gmail.com>2017-06-16 21:20:05 -0700
commit5f4b73051ab7895e085e4a8e57fc87e7df0120f7 (patch)
tree2420240fd9a94ea32b14e7ec049d40aad83cee91 /tests/headers/constify-module-enums-types.hpp
parentde155b914d97dd382fa17e56ee9555a012469c5e (diff)
Refactor namespace code and test
Diffstat (limited to 'tests/headers/constify-module-enums-types.hpp')
-rw-r--r--tests/headers/constify-module-enums-types.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/headers/constify-module-enums-types.hpp b/tests/headers/constify-module-enums-types.hpp
index 1570654f..b49dc038 100644
--- a/tests/headers/constify-module-enums-types.hpp
+++ b/tests/headers/constify-module-enums-types.hpp
@@ -14,7 +14,7 @@ namespace ns1 {
SHOULD_BE,
A_CONSTANT,
ALSO_THIS = 42,
- } foo2;
+ } foo;
}
typedef foo foo_alias1;
@@ -24,6 +24,7 @@ typedef struct bar {
foo member1;
foo_alias1 member2;
foo_alias2 member3;
+ ns1::foo member4;
} bar;
foo *func1(foo arg1, foo *arg2, foo **arg3);