1//===----------------------------------------------------------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is dual licensed under the MIT and the University of Illinois Open 6// Source Licenses. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// UNSUPPORTED: libcpp-has-no-threads 11// <mutex> 12 13// template <class ...Mutex> class lock_guard; 14 15// Test that the variadic lock guard implementation compiles in all standard 16// dialects, including C++03, even though it is forward declared using 17// variadic templates. 18 19// MODULES_DEFINES: _LIBCPP_ABI_VARIADIC_LOCK_GUARD 20#define _LIBCPP_ABI_VARIADIC_LOCK_GUARD 21#include "mutex.pass.cpp" // Use the existing non-variadic test 22