When trying to create a table of contents with an unnumbered section, I get an empty table of contents, even after multiple repeated compilations.
When I use a numbered section, the table of contents works fine.
An example (complete Latex document) is shown below (I was trying to keep it as simple as possible):
\documentclass[12pt,a4paper,english]{article}
\begin{document}
\tableofcontents
\section*{Testsection} %Works when section* is replaced with section
Test
\end{document}