// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
// We use pointer assignment compatibility to test instantiation.
void throw;
void ;
void throw = &f1<0>;
void throw = &f1<0>; // expected-error {{not superset}}
void noexcept = &f2<2>; // no-error
void noexcept = &f2<0>; // expected-error {{not superset}}