cxx/test/language.support/support.exception/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
2010-05-11 21:36:01 +00:00

20 lines
456 B
C++

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// test unexpected_handler
#include <exception>
void f() {}
int main()
{
std::unexpected_handler p = f;
}