Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenCXX/mangle-ms-cxx17.cpp @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
// RUN: %clang_cc1 -std=c++1z -fms-extensions -emit-llvm %s -o - -triple=i386-pc-win32 -fms-compatibility-version=19.10 | FileCheck -allow-deprecated-dag-overlap %s --check-prefix=CHECK --check-prefix=MSVC2017 // RUN: %clang_cc1 -std=c++1z -fms-extensions -emit-llvm %s -o - -triple=i386-pc-win32 -fms-compatibility-version=19.00 | FileCheck -allow-deprecated-dag-overlap %s --check-prefix=CHECK --check-prefix=MSVC2015 struct S { int x; double y; }; S f(); // CHECK-DAG: "?$S1@@3US@@B" const auto [x0, y0] = f(); // CHECK-DAG: "?$S2@@3US@@B" const auto [x1, y1] = f(); static union { int a; double b; }; // CHECK-DAG: "?$S4@@3US@@B" const auto [x2, y2] = f();