https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128504
Bug ID: 128504
Summary: internal compiler error: unspellable token PRAGMA
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: 0599jiangyc at gmail dot com
Target Milestone: ---
The following code:
```c
int i = __has_include(<x)
#pragma pack(1)
```
Resulted in this output:
```
<source>:1:9: error: '__has_include' used outside of preprocessing directive
<source>:2:9: internal compiler error: unspellable token PRAGMA
```
Trunk reproducer: https://godbolt.org/z/YhWx6xjPn