Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329172

Summary: Name resolution problem in a parameter default value
Product: [Tools] CDT Reporter: Sergey Prigogin <eclipse.sprigogin>
Component: cdt-coreAssignee: Markus Schorn <mschorn.eclipse>
Status: RESOLVED FIXED QA Contact: Doug Schaefer <cdtdoug>
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: 8.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
testcase + fix mschorn.eclipse: iplog-

Description Sergey Prigogin CLA 2010-11-01 00:03:08 EDT
class A {
  A(int a = f());  // problem on f
  static int f();
};
Comment 1 Markus Schorn CLA 2010-11-04 12:05:30 EDT
Created attachment 182390 [details]
testcase + fix
Comment 2 Markus Schorn CLA 2010-11-04 12:18:39 EDT
Fixed in 8.0 > 20101104.