[test-suite] r202386 - Replace stderr with stdout to make deterministic
Robert Lytton
robert at xmos.com
Thu Feb 27 04:45:21 PST 2014
Author: rlytton
Date: Thu Feb 27 06:45:20 2014
New Revision: 202386
URL: http://llvm.org/viewvc/llvm-project?rev=202386&view=rev
Log:
Replace stderr with stdout to make deterministic
MultiSource/Benchmarks/Prolangs-C/cdecl
Modified:
test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c
test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.reference_output
Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c?rev=202386&r1=202385&r2=202386&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c Thu Feb 27 06:45:20 2014
@@ -302,7 +302,7 @@ char *compiler, *type1, *type2;
"Warning: Unsupported in%s C%s -- '%s' with '%s'\n",
compiler, CplusplusFlag ? "++" : "", type1, type2);
else
- (void) fprintf(stderr,
+ (void) fprintf(stdout,
"Warning: Unsupported in%s C%s -- '%s'\n",
compiler, CplusplusFlag ? "++" : "", type1);
}
Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.reference_output?rev=202386&r1=202385&r2=202386&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.reference_output (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.reference_output Thu Feb 27 06:45:20 2014
@@ -1,10 +1,3 @@
-Warning: Unsupported in C -- 'reference'
-Warning: Unsupported in C -- 'pointer to member of class'
-Warning: Unsupported in C -- 'pointer to member of class'
-Warning: Unsupported in C -- 'pointer to member of class'
-Warning: Unsupported in C -- 'pointer to member of class'
-Warning: Unsupported in C -- 'pointer to member of class'
-Warning: Unsupported in C -- 'pointer to member of class'
[] means optional; {} means 1 or more; <> means defined elsewhere
commands are separated by ';' and newlines
command:
@@ -104,8 +97,11 @@ Current set values are:
ansi
(nocplusplus)
char *x
+Warning: Unsupported in C -- 'reference'
char &x
+Warning: Unsupported in C -- 'pointer to member of class'
int X::*foo
+Warning: Unsupported in C -- 'pointer to member of class'
class Y *(X::*foo)(arg1, arg2)
int *x(char *w, int y)
int *x(char *)
@@ -113,7 +109,9 @@ int *x(int )
int *x(char *, int )
int *x(args)
declare x as pointer to char
+Warning: Unsupported in C -- 'pointer to member of class'
declare foo as pointer to member of class X int
+Warning: Unsupported in C -- 'pointer to member of class'
declare foo as pointer to member of class X function (arg1, arg2) returning pointer to class Y
declare x as function returning pointer to int
declare x as function (args) returning pointer to int
@@ -122,6 +120,7 @@ declare x as function (pointer to char,
declare x as function (pointer to char, int, float) returning pointer to int
declare x as function (int) returning pointer to int
(char *)x
+Warning: Unsupported in C -- 'pointer to member of class'
(int X::*)x
(int (*)())x
(int (*)())x
@@ -131,6 +130,7 @@ declare x as function (int) returning po
(int (*)(char *, int ))x
(int (*)(char *, int , float ))x
cast x into pointer to char
+Warning: Unsupported in C -- 'pointer to member of class'
cast x into pointer to member of class X int
cast x into pointer to function returning int
cast x into pointer to function (pointer to char) returning int
More information about the llvm-commits
mailing list