re PR libstdc++/65420 (Enumerators in std::regex_constants should be constexpr variab...
authorTim Shen <timshen@google.com>
Sat, 28 Mar 2015 04:17:12 +0000 (04:17 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sat, 28 Mar 2015 04:17:12 +0000 (04:17 +0000)
commit2894311302edaf27ed41a0b517e1c808c286974c
tree9372214a66ec99fa2c15937836e8235eddcb013b
parent5351658ccc9a15ab43da9bdaffa8b638916c6934
re PR libstdc++/65420 (Enumerators in std::regex_constants should be constexpr variables instead)

PR libstdc++/65420
* include/bits/regex_constants.h: Use constexpr variables for flags.
* testsuite/28_regex/constants/constexpr.cc: New testcase.

From-SVN: r221750
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_constants.h
libstdc++-v3/testsuite/28_regex/constants/constexpr.cc [new file with mode: 0644]