diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-05-18 11:54:16 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-05-18 11:54:16 +0200 |
commit | e24e134a89479149dd6ed4c20e00bb51306dbe06 (patch) | |
tree | 16b19eb849687bf6c970980495a32ca2f7c033d3 /tests/headers/class_static.hpp | |
parent | c769d1b3db1753e2cc9089d09383e18c8ae3416e (diff) |
Support in-class constants in C++
Diffstat (limited to 'tests/headers/class_static.hpp')
-rw-r--r-- | tests/headers/class_static.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/class_static.hpp b/tests/headers/class_static.hpp new file mode 100644 index 00000000..21ab2321 --- /dev/null +++ b/tests/headers/class_static.hpp @@ -0,0 +1,7 @@ +class MyClass { +public: + static const int* example; + static const int* example_check_no_collision; +}; + +static const int* example_check_no_collision; |