You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
481 B

// RUN: rm -rf %t
// 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
// expected-no-diagnostics
struct MergeExceptionSpec {
~MergeExceptionSpec();
} mergeExceptionSpec; // trigger evaluation of exception spec
#include "decls.h"
MergeExceptionSpec mergeExceptionSpec2;
template<typename T> struct DeductionGuide {};
DeductionGuide() -> DeductionGuide<int>;
DeductionGuide a;