summaryrefslogtreecommitdiff
path: root/test/Modules/cxx17.cpp
blob: 1efb490828db5b8ad44be9de2091ac390813f652 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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;