<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55010>55010</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Fail to compile anything if `mlir/IR/PatternMatch.h` is included
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          jackalcooper
      </td>
    </tr>
</table>

<pre>
    - gcc version
```
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
```

- minimum case
```
#include "mlir/IR/PatternMatch.h"
int32_t main(int32_t argc, char** argv) {}
```

- error
```
In file included from XXXXX-opt.cpp:16:
XXXXX/build/oneflow/ir/llvm_monorepo-src/llvm/../mlir/include/mlir/IR/PatternMatch.h:1102:10: error: pack expansion does not contain any unexpanded parameter packs
       0)...};
       ~~^
1 error generated.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UlGPnCAQ_jX4QiSIuq4PPux2b5N7aNI0adK3CyIqVwQDuO39-w7qddPL5giZgZlh5ptvaG331qR4EALfpPPKGkQviJ7Qge57vUY_Yscf7WLCgmtSEJpmy3rLUPXEKKEFyRCrN9_DHJtM8aSMmpYJC-7l40CWKyP00kmoySatHGLX5-8gvvEQpDNfeRAjGcG5PVAm5Owl4IkrAyjfr9wNArEvWIwcMkDaUzTdIkpUnVF1-RSmdM66hxHPBvdKS7yD7HDv7IR_xpXaORAxzyg_ZQcQ24PVBfDbRekOtDWy1_Y3nNbWtL5NL5M11snZpt6J3QaKEBA7A3u5u-ERJVA3oywqCmJvAg4zF7-w_DNzE2eMOys9NjZgYU0A1jA3b3gxa0DsaOaOTxISrw_91gbeFgUCCQAD_vLzfx74CXGXT5s128rjQRrpeJAd-UBn0jV5V-c1T4IKWjZXrjQOFkBNcyQYQIVRmQGrHkP4J20fKFb-30CSxelmDGH2cQTsCntQYVxaApnv5EaVzs6-ShEiv94v0sOhLGlGk7EpirqTfUUznh_bOi_qmlX9kWc0rwrK-DHRvJXaN6g8o_KSqIZRxmjBMnos6zInPMvLspRFyQQHT40KKuGLahILE-uGxDUrhnYZPDi18sHfndx7NRgp3_PzJYzWNa8wEK6FtbN0yYq5WQH_BQfdHq0">