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
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr13066-1.C
blob
67f8534567633401122c3b68bcbd6e5d7cdcb9f2
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
class nsIURI;
5
6
struct nsCOMPtr
7
{
8
operator nsIURI*() const
9
{
10
return mRawPtr;
11
}
12
13
nsIURI *mRawPtr;
14
};
15
16
void func()
17
{
18
nsCOMPtr u1;
19
if (!u1 == !u1)
20
return;
21
}
22