repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
xtensa: Fix the issue in "*extzvsi-1bit_addsubx"
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
pr34895.C
blob
ca06336c62abb3fafb6b0213ac6c5cf41abc0056
1
// { dg-do compile }
2
// { dg-options "-O2 -g" }
3
//
4
// Copyright (C) 2008 Free Software Foundation, Inc.
5
// Contributed by Theodore.Papadopoulo 20 Jan 2008 <Theodore.Papadopoulo@sophia.inria.fr>
6
7
struct A {
8
A() { }
9
unsigned operator()() { return 1; }
10
};
11
struct B: public A {
12
typedef const A base;
13
using base::operator();
14
B() { }
15
};
16
int
17
main() {
18
B b;
19
}