unit_tests/preprocessor/errors/too-many-macro-args
author Martin Krošlák <kroslakma@gmail.com>
Thu, 23 Jul 2020 18:16:22 -0400
changeset 1299 02d36217591b
parent 749 4e0837f91f12
permissions -rw-r--r--
Fix SM1 shaders on SPIR-V after TEX* opcodes changes: - Fix implicit input attribute on SPIR-V profile - Remove texcoord attribs from other TEX* opcodes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
749
4e0837f91f12 Added unit test for too many macro args.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
// This should produce an error, not anything like "WRONG 7 )"
4e0837f91f12 Added unit test for too many macro args.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define x(a) a
4e0837f91f12 Added unit test for too many macro args.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
x(WRONG, 7)