URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [init3.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed initialization
// init file
// From: thayer@moose.cs.columbia.edu (Charles Thayer)
// Date: Wed, 30 Sep 92 02:38:17 EDT
// Subject: small bug
// Message-ID: <9209300638.AA22334@moose.cs.columbia.edu>
int main() {
int offset;
char buf[offset]=""; // { dg-error "" } ansi forbids variable arrays
}