Author
anonymous
over 5 years ago
C++
clang 9.0.0
$ clang++ prog.cc -Wall -Wextra -std=c++2a -pedantic
prog.cc:5:22: error: inline declaration of 'f' follows non-inline definition friend inline void f(); ^ prog.cc:1:17: note: previous definition is here /*inline*/ void f() {} ^ 1 error generated.