mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
2f357ba9b2
#pragma PP-tokens can now be macro replaced. #include header names directly enclosed in <> are free of macro replacement. Preprocess-only mode (-E) now outputs with #line as source info. Moved testcases for #760 and #1357. Added testcase for #1643.
13 lines
180 B
C
13 lines
180 B
C
/* bug#760 - Error when using macros as pragma arguments */
|
|
|
|
#include <stdlib.h>
|
|
|
|
#define BANK "PRG0"
|
|
|
|
#pragma rodata-name(push, BANK)
|
|
|
|
int main(void)
|
|
{
|
|
return EXIT_SUCCESS;
|
|
}
|