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
Value Range: Add range op for builtin isnormal
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
out-of-class-redeclaration.C
blob
9dba8eb47a423f443fd877d1c94c65f7217b8a84
1
// Adapted from g++.old-deja/g++.law/arm8.C
2
3
struct K {
4
void f(int);
5
};
6
7
void K::f(int); // { dg-error "6:declaration of .void K::f\\(int\\). outside of class" }
8
9
struct L {
10
void g(int) {}
11
};
12
13
void L::g(int); // { dg-error "6:declaration of .void L::g\\(int\\). outside of class" }