// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s
;
;
typedef Ex1 Ex2;
void ;
void try
catch // expected-note 2{{for type 'BaseEx &'}}
catch // expected-warning {{exception of type 'Ex1 &' will be caught by earlier handler}}
catch // expected-warning {{exception of type 'Ex2 &' (aka 'Ex1 &') will be caught by earlier handler}}