Mercurial > hg > CbC > CbC_llvm
view clang/test/Parser/ext-int.cpp @ 223:5f17cb93ff66 llvm-original
LLVM13 (2021/7/18)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:43:00 +0900 |
parents | 0572611fdcc8 |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-error@+5{{expected ')'}} // expected-note@+4{{to match this '('}} // expected-error@+3{{expected unqualified-id}} // expected-error@+2{{extraneous closing brace}} // expected-error@+1{{C++ requires a type specifier for all declarations}} _ExtInt(32} a; // expected-error@+2{{expected expression}} // expected-error@+1{{C++ requires a type specifier for all declarations}} _ExtInt(32* ) b; // expected-error@+3{{expected '('}} // expected-error@+2{{expected unqualified-id}} // expected-error@+1{{C++ requires a type specifier for all declarations}} _ExtInt{32} c;