Skip to content

rejects valid template specialization #923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
llvmbot opened this issue Apr 20, 2005 · 1 comment
Closed

rejects valid template specialization #923

llvmbot opened this issue Apr 20, 2005 · 1 comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag

Comments

@llvmbot
Copy link
Member

llvmbot commented Apr 20, 2005

Bugzilla Link 551
Resolution FIXED
Resolved on Feb 22, 2010 12:47
Version 1.4
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

error: ambiguous template specialization GetParent<const MetaCpp::Element>' for MetaCpp::object MetaCpp::ElementImpl::GetParent() const'

gcc version 3.4-llvm 20030924 (experimental)

accepted by gcc 3.3, 3.4 and 4.0

struct B{
template
T blah();
template
T const blah() const;
};

template<>
int const B::blah() const;

@lattner
Copy link
Collaborator

lattner commented Aug 6, 2006

This is fixed in llvmgcc4.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
searlmc1 pushed a commit to ROCm/llvm-project that referenced this issue Mar 1, 2025
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

No branches or pull requests

2 participants