brintos

brintos / llvm-project-archived public Read only

0
0
Text · 293 B · 3137d3f Raw
19 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify -fcxx-exceptions -fexceptions %s2// expected-no-diagnostics3 4struct A {5  virtual ~A();6};7template <class>8struct B {};9struct C {10  template <typename>11  struct D {12    ~D() throw();13  };14  struct E : A {15    D<int> d;16  };17  B<int> b;18};19