 --> [ local path prefix ]/enum/undef_constant_2.fpp:2:16
  |
2 | constant a = E.X
  |                ^ symbol X is not defined
  |
  = note: looking for a constant here

 --> [ local path prefix ]/enum/undef_constant_2.fpp:1:1
  |
1 | enum E { }
  | ^^^^^^^^^^ enum must define at least one constant

 --> [ local path prefix ]/enum/undef_constant_2.fpp:2:14
  |
2 | constant a = E.X
  |              ^ invalid use of symbol E: not a constant symbol
  |
 ::: [ local path prefix ]/enum/undef_constant_2.fpp:1:1
  |
1 | enum E { }
  | ---------- symbol is defined here

