| 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 |
|
| 13 |
template<typename T> struct DeductionGuide {}; |
| 14 |
DeductionGuide() -> DeductionGuide<int>; |
| 15 |
DeductionGuide a; |