\ProvidesExplPackage
  {example.sty}{2024-04-09}{1.0.0}{An example package}
\ExplSyntaxOff
\ProvidesExplClass  % error on this line
  {example.cls}{2024-04-09}{1.0.0}{An example class}
