glslang/Test/cppBad.vert
John Kessenich 11e1a073f3 PP: Fix issue #407; handle empty identifier.
The sequence

  #define m()
  int m"

creates a token of no length (a string of 0 size).  Protect
against a string of 0 size as well as the existing protect
against a null string.
2016-07-30 13:39:52 -06:00

5 lines
42 B
GLSL

#define m#0#
#if m
#define n()
int n"