mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 20:29:39 +08:00
Make the test object callable. libstdc++'s bind checks that (libc++ currently does not). Thanks to Jonathan Wakely for the fix.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@359108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,7 +25,7 @@ test(const T&)
|
||||
#endif
|
||||
}
|
||||
|
||||
struct C {};
|
||||
struct C {int operator()(...) const { return 0; }};
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user