Placate unused variable warnings uncovered by improvements to clang's -Wunused-variable
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@315809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,10 +20,12 @@ int main()
|
||||
{
|
||||
{
|
||||
std::once_flag f;
|
||||
(void)f;
|
||||
}
|
||||
#if TEST_STD_VER >= 11
|
||||
{
|
||||
constexpr std::once_flag f;
|
||||
(void)f;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user