Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

C++

Compiler

clang HEAD 9.0.0 (https://github.com/llvm-mirror/clang.git 893b8523f1e00a965d91fef0358dfc96af865bac) (https://github.com/llvm-mirror/llvm.git 3cf7619a099121e328f3824997d2e6d9b4438681)

Options
Warnings
Boost 1.69.0
C++2a
no pedantic

Author

anonymous

about 7 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-head/include -std=c++2a
prog.cc:10:3: error: no matching function for call to 'nop'
  nop(voidFn());
  ^~~
prog.cc:4:1: note: candidate template ignored: substitution failure [with T = void]: argument may not have 'void' type
nop(T arg) {
^     ~~~
1 error generated.
Exit Code:
1