xref: /llvm-project/clang/test/ASTMerge/generic-selection-expr/Inputs/generic.cpp (revision 1844ab770cb9380a1896d83b1863b93766ffdf22)
1 template <typename T>
f()2 void f() {
3   T x;
4   _Static_assert(_Generic(x, float : 0, int : 1), "Incorrect semantics of _Generic");
5 }
6