\documentclass{article}
\begin{document}

\begin{tabular}{|}
    test \\
    test
\end{tabular}
\end{document}