Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 2dba5461be2d1b35e8461a60a2149281b42fea48)

Options
Warnings
Boost 1.73.0
C++2a
no pedantic
Raw compiler options
-Wsuggest-destructor-override

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++2a -Wsuggest-destructor-override
prog.cc:11:13: warning: '~OverrideTest' overrides a destructor but is not marked 'override' [-Wsuggest-destructor-override]
    virtual ~OverrideTest() {}
            ^
prog.cc:4:13: note: overridden virtual function is here
    virtual ~Test() {}
            ^
1 warning generated.
Exit Code:
0