Author
anonymous
almost 8 years ago
Language
Compiler
Options
Author
anonymous
almost 8 years ago
$
clang-5.0: warning: argument unused during compilation: '-Xclang -ast-dump' [-Wunused-command-line-argument]
prog.cc:9:14: error: dependent using declaration resolved to type without 'typename'
using T::X;
^
prog.cc:14:10: note: in instantiation of template class 'S<X>' requested here
S<X> s(42);
^
prog.cc:1:8: note: target of using declaration
struct X
^
1 error generated.
Exit Code:
1