repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
invalid1.C
blob
38e4d3305b8cde1a1fbc1835ee4408ff7fef7f4c
1
// { dg-do assemble }
2
namespace x { }
3
4
void f(int);
5
6
int main()
7
{
8
x(); // { dg-error "" } calling a namespace
9
x=4; // { dg-error "" } assigning to a namespace
10
f(x); // { dg-error "" } passing a namespace as parameter
11
}
12