summaryrefslogtreecommitdiff
path: root/test/SemaCXX/attr-cxx0x-fixit.cpp
blob: 69eb22399607b877906786aca8f3e8ac8ba8ae18 (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -std=c++11 %s 2>&1 | FileCheck %s

[[noreturn()]] void f(); // expected-error {{attribute 'noreturn' cannot have an argument list}} \
// CHECK: fix-it:"{{.*}}":{4:11-4:13}:""