brintos

brintos / llvm-project-archived public Read only

0
0
Text · 128 B · 8a97338 Raw
6 lines · cpp
1template <typename T>2void f() {3  T x;4  _Static_assert(_Generic(x, float : 0, int : 1), "Incorrect semantics of _Generic");5}6