代码搜索:CATCH
找到约 10,000 项符合「CATCH」的源代码
代码结果 10,000
www.eeworm.com/read/375190/2727178
hpp catch_composite.hpp
/*=============================================================================
Copyright (c) 2005-2007 Dan Marsden
Copyright (c) 2005-2007 Joel de Guzman
Distributed under the Boost Soft
www.eeworm.com/read/375190/2736937
cpp catch_builtin.cpp
# /* Copyright (C) 2002
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt or copy at
www.eeworm.com/read/366702/2865690
c catch5.c
// PR c++/31411
struct allocator{
~allocator() throw();
};
struct string
{
string(const string& str, const allocator& al = allocator());
};
int main() {
try {}
catch (string smess) {}
}
www.eeworm.com/read/366702/2865727
c catch1.c
// PR c++/28250
// { dg-do compile }
template void foo()
{
try {}
catch (int(0)) {} // { dg-error "before" }
}
www.eeworm.com/read/366702/2865754
c catch4.c
// PR c++/28250
// { dg-do compile }
void foo()
{
try { throw; }
catch () {} // { dg-error "type-specifier" }
}
www.eeworm.com/read/366702/2865760
c catch2.c
// PR c++/28250
// { dg-do compile }
void foo()
{
try {}
catch () {} // { dg-error "before" }
catch (...) {}
}
www.eeworm.com/read/366702/2865776
c catch3.c
// PR c++/28250
// { dg-do compile }
template void foo()
{
try {}
catch () {} // { dg-error "type-specifier" }
}
template void foo();
www.eeworm.com/read/366702/2866552
c catch1.c
// PR c++/28249
// { dg-do compile }
void foo()
{
try {}
catch (long long long) {} // { dg-error "long long long" }
}
www.eeworm.com/read/366702/2869115
c catch5.c
// { dg-do run }
// { dg-options "-w" }
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Aug 1999
// We cannot catch an ambiguous base
www.eeworm.com/read/366702/2869116
c catch6.c
// { dg-do run }
// { dg-options "-w" }
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Aug 1999
// We cannot catch an ambiguous base