Language
C++
Compiler
clang HEAD 6.0.0 (https://github.com/llvm-mirror/clang.git 48231c128c697271508e83b487d436a071e62f09) (https://github.com/llvm-mirror/llvm.git 8035f149f420e8dde0ae809e6b6a9b9b424d649f)
Options
Warnings
Boost 1.65.0
C++2a(GNU)
Boost 1.65.0
C++2a(GNU)
Boost 1.65.0
C++2a(GNU)
no pedantic
template <decltype(auto)>
struct X {};
int foo ;
int main() {
X<(foo)> x;
static_cast<void>(x);
}
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.65.0/clang-head/include -std=gnu++2a
Exit Code:
0