From 392e4fbdd9b152efff4c051286f6b2c21270c902 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 18 Apr 2012 21:39:23 +0000 Subject: Creating release_31 branch llvm-svn: 155059 llvm-svn: 155053 llvm-svn: 155051 --- libcxxabi/test/catch_array_01.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 libcxxabi/test/catch_array_01.cpp (limited to 'libcxxabi/test/catch_array_01.cpp') diff --git a/libcxxabi/test/catch_array_01.cpp b/libcxxabi/test/catch_array_01.cpp deleted file mode 100644 index 4997602a6d0e..000000000000 --- a/libcxxabi/test/catch_array_01.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===---------------------- catch_array_01.cpp ----------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// Can you have a catch clause of array type that catches anything? - -#include - -int main() -{ - typedef char Array[4]; - Array a = {'H', 'i', '!', 0}; - try - { - throw a; // converts to char* - assert(false); - } - catch (Array& b) // can't catch char* - { - assert(false); - } - catch (...) - { - } -} -- cgit v1.2.3