repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
conv2.C
blob
fd0083825367235496d5fbaca45df3be7406fbee
1
// PR c++/25895
2
// { dg-do run }
3
4
class base {
5
public:
6
base() {}
7
private:
8
int val_;
9
};
10
11
class derived : public base {
12
public:
13
derived() {}
14
};
15
16
static bool x = true ? (derived*)0 : (base*)0;
17
18
int main ()
19
{
20
if (x)
21
return 1;
22
}