| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang_cc1 -x c++ -std=c++1z -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/cxx17 %s -verify -fno-modules-error-recovery |
| 3 | |
| 4 | // expected-no-diagnostics |
| 5 | struct MergeExceptionSpec { |
| 6 | ~MergeExceptionSpec(); |
| 7 | } mergeExceptionSpec; // trigger evaluation of exception spec |
| 8 | |
| 9 | #include "decls.h" |
| 10 | |
| 11 | MergeExceptionSpec mergeExceptionSpec2; |
| 12 |