Language
C++
Compiler
clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 446ad5873657e07917ecf631dd778863d27eb122) (https://github.com/llvm-mirror/llvm.git c315e740ba0bfb35dd4e683b0bc14d38c9b981d0)
Options
Warnings
Boost 1.67.0
C++2a(GNU)
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/clang-head/include -std=gnu++2a
decltype(x) is... void f() [T = int]
decltype((x)) is... void f() [T = int &]
decltype(y) is... void f() [T = int &&]
decltype((y)) is... void f() [T = int &]
decltype(z) is... void f() [T = int]
decltype((z)) is... void f() [T = int &]
Exit Code:
0