brintos

brintos / llvm-project-archived public Read only

0
0
Text · 298 B · 69eb223 Raw
6 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s2// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -std=c++11 %s 2>&1 | FileCheck %s3 4[[noreturn()]] void f(); // expected-error {{attribute 'noreturn' cannot have an argument list}} \5// CHECK: fix-it:"{{.*}}":{4:11-4:13}:""6