1*67e74705SXin Li // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors 2*67e74705SXin Li // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors 3*67e74705SXin Li // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors 4*67e74705SXin Li // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors 5*67e74705SXin Li 6*67e74705SXin Li // expected-no-diagnostics 7*67e74705SXin Li 8*67e74705SXin Li namespace dr1250 { // dr1250: 3.9 9*67e74705SXin Li struct Incomplete; 10*67e74705SXin Li 11*67e74705SXin Li struct Base { 12*67e74705SXin Li virtual const Incomplete *meow() = 0; 13*67e74705SXin Li }; 14*67e74705SXin Li 15*67e74705SXin Li struct Derived : Base { 16*67e74705SXin Li virtual Incomplete *meow(); 17*67e74705SXin Li }; 18*67e74705SXin Li } // dr1250 19