Mercurial > hg > CbC > CbC_llvm
view clang/test/Parser/gcc-__final-compatibility.cpp @ 223:5f17cb93ff66 llvm-original
LLVM13 (2021/7/18)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:43:00 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -std=c++98 -fgnu-keywords -fsyntax-only -verify %s // RUN: %clang_cc1 -std=c++11 -fgnu-keywords -fsyntax-only -verify %s struct B { virtual void g(); }; struct D __final : B { // expected-warning {{__final is a GNU extension, consider using C++11 final}} virtual void g() __final; // expected-warning {{__final is a GNU extension, consider using C++11 final}} };