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
PR c++/80290
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
overload
/
volatile1.C
blob
0426b8f361d423d61a3dfd481dff42f2b475b93d
1
// PR c++/48118
2
3
struct A { };
4
5
void f (A); // { dg-message "" }
6
void (*g)(A);
7
8
int main()
9
{
10
volatile A a;
11
f(a); // { dg-error "" }
12
g(a); // { dg-error "" }
13
}