diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 | 
| commit | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch) | |
| tree | 2732d02d7d51218d6eed98ac7fcfc5b8794896b5 /test/Parser/cxx-decl.cpp | |
| parent | 657bc3d9848e3be92029b2416031340988cd0111 (diff) | |
Diffstat (limited to 'test/Parser/cxx-decl.cpp')
| -rw-r--r-- | test/Parser/cxx-decl.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/test/Parser/cxx-decl.cpp b/test/Parser/cxx-decl.cpp index 951cd3dfd1e1..290b947de2b7 100644 --- a/test/Parser/cxx-decl.cpp +++ b/test/Parser/cxx-decl.cpp @@ -1,5 +1,7 @@  // RUN: %clang_cc1 -verify -fsyntax-only -triple i386-linux -pedantic %s +const char const *x10; // expected-warning {{duplicate 'const' declaration specifier}} +  int x(*g); // expected-error {{use of undeclared identifier 'g'}}  struct Type { @@ -119,6 +121,9 @@ void CodeCompleteConsumer::() { // expected-error {{xpected unqualified-id}}  ; +// PR4111 +void f(sqrgl); // expected-error {{unknown type name 'sqrgl'}} +  // PR8380  extern ""      // expected-error {{unknown linkage language}}  test6a { ;// expected-error {{C++ requires a type specifier for all declarations}} \ | 
