diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2015-08-12 20:57:10 +0100 |
---|---|---|
committer | Sergio Martins <sergio.martins@kdab.com> | 2015-08-12 20:57:10 +0100 |
commit | 3adf033a5768466ef2b8db8c4ecc3f5ce527e88d (patch) | |
tree | b85bd5c64c386bf9e2021842fdc674fcb64e760a /tests/global-const-char-pointer | |
parent | 5164063cf8fb6e87ca01ac482274287de5783fdd (diff) |
global-const-char-pointer: Fix unit-test build
Diffstat (limited to 'tests/global-const-char-pointer')
-rw-r--r-- | tests/global-const-char-pointer/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/global-const-char-pointer/main.cpp b/tests/global-const-char-pointer/main.cpp index 5394cc18..30ba8819 100644 --- a/tests/global-const-char-pointer/main.cpp +++ b/tests/global-const-char-pointer/main.cpp @@ -5,9 +5,10 @@ static const char * const foo = "1"; static const char * foo2 = "2"; const char * foo3 = "3"; // Warning + const char * const foo4 = "4"; static const char foo5[] ="5"; -const char foo5[] ="5"; +const char foo51[] ="5"; namespace { const char * foo6 = "6"; |