aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/new.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/new.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/new.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/new.C b/gcc/testsuite/g++.old-deja/g++.jason/new.C
index 0ac2562..89ec808 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/new.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/new.C
@@ -19,7 +19,7 @@ main()
float f = 3;
int* b1 = new int[(int)f];
- int* b2 = new int[f];
+ int* b2 = new int[f]; // ERROR - new requires integral size
return s;
}