Skip to content

cp00x feature auto #11136

@llvmbot

Description

@llvmbot
Bugzilla Link 10764
Resolution FIXED
Resolved on Sep 08, 2011 12:56
Version 2.9
OS Linux
Attachments auto
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic

Extended Description

~/build_llvm/install/bin/clang++ /home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/cpp0x/auto10.C
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/cpp0x/auto10.C:10:7: error: type
name does not allow storage class to be specified
if (auto i = 42L)
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/cpp0x/auto10.C:10:12: error: C++
requires a type specifier for all declarations
if (auto i = 42L)
~~~~ ^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/cpp0x/auto10.C:16:10: error: type
name does not allow storage class to be specified
while (auto i = 1)
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/cpp0x/auto10.C:16:15: error: C++
requires a type specifier for all declarations
while (auto i = 1)
~~~~ ^
4 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions