From 7442d6faa2719e4e7d33a7021c406c5a4facd74d Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 16 Apr 2017 16:02:28 +0000 Subject: Vendor import of clang trunk r300422: https://llvm.org/svn/llvm-project/cfe/trunk@300422 --- test/Parser/cxx0x-attributes.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test/Parser/cxx0x-attributes.cpp') diff --git a/test/Parser/cxx0x-attributes.cpp b/test/Parser/cxx0x-attributes.cpp index 906d72b087cb5..647762f165cb8 100644 --- a/test/Parser/cxx0x-attributes.cpp +++ b/test/Parser/cxx0x-attributes.cpp @@ -99,11 +99,13 @@ void fn_with_structs() { } [[]]; struct ctordtor { - [[]] ctordtor(); - [[]] ~ctordtor(); + [[]] ctordtor [[]] () [[]]; + ctordtor (C) [[]]; + [[]] ~ctordtor [[]] () [[]]; }; -[[]] ctordtor::ctordtor() {} -[[]] ctordtor::~ctordtor() {} +[[]] ctordtor::ctordtor [[]] () [[]] {} +[[]] ctordtor::ctordtor (C) [[]] try {} catch (...) {} +[[]] ctordtor::~ctordtor [[]] () [[]] {} extern "C++" [[]] int extern_attr; template [[]] void template_attr (); [[]] [[]] int [[]] [[]] multi_attr [[]] [[]]; -- cgit v1.2.3