summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/stringconcatliterals.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/stringconcatliterals.cxx')
-rw-r--r--compilerplugins/clang/test/stringconcatliterals.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/stringconcatliterals.cxx b/compilerplugins/clang/test/stringconcatliterals.cxx
index 76b82797f77e..348440f0ec4c 100644
--- a/compilerplugins/clang/test/stringconcatliterals.cxx
+++ b/compilerplugins/clang/test/stringconcatliterals.cxx
@@ -19,7 +19,7 @@
void f(std::ostream& s1)
{
- static char const foo[] = "foo";
+ static constexpr char foo[] = "foo";
static char16_t const foou[] = u"foo";
s1 << "foo"
<< "foo";