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
C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr84448.C
blob
3fad4741d38b89ac684e31653ed37c8a2450f11d
1
// PR c++/84448
2
// { dg-do compile }
3
4
struct A
5
{
6
operator int () const;
7
A& operator += (int);
8
A& operator ++ ();
9
};
10
11
void
12
foo (A a, A b)
13
{
14
#pragma omp for
15
for (A i = a; i <=; ++i) // { dg-error "expected primary-expression before" }
16
; // { dg-error "invalid controlling predicate" "" { target *-*-* } .-1 }
17
}