aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-05-10 13:57:49 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-05-10 15:00:06 +0100
commit2bbacc18b35e44d45676a46eced26129f8f8378a (patch)
treea7aa61ecde6684f00aaa19b9a7a02d7868740174 /libgcc
parent0fd1a54ba32df4316ea920e9877c66f79605df50 (diff)
downloadgcc-2bbacc18b35e44d45676a46eced26129f8f8378a.zip
gcc-2bbacc18b35e44d45676a46eced26129f8f8378a.tar.gz
gcc-2bbacc18b35e44d45676a46eced26129f8f8378a.tar.bz2
libstdc++: Rename test type to avoid clashing with std::any
When PCH are enabled this test file includes <any> and so the using-directive brings std::any into the global scope. It isn't currently a problem, because the -std option in the dg-options means that PCH is not used. If that option is removed, the test fails with PCH and passes without. This just renames the type to avoid the name classh (and also the 'none' type for consistency). libstdc++-v3/ChangeLog: * testsuite/20_util/variant/compile.cc: Rename 'any' to avoid clash with std::any.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions