summaryrefslogtreecommitdiff
path: root/test/Sema/statementFunctions.f95
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/statementFunctions.f95')
-rw-r--r--test/Sema/statementFunctions.f952
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/statementFunctions.f95 b/test/Sema/statementFunctions.f95
index 41692ca606..f18ce023a8 100644
--- a/test/Sema/statementFunctions.f95
+++ b/test/Sema/statementFunctions.f95
@@ -16,7 +16,7 @@ PROGRAM test
INTEGER FOO ! expected-note@+1 {{previous definition is here}}
FOO(I,I) = 1 ! expected-error {{redefinition of 'i'}}
- Z(A) = 'Hello' ! expected-error {{assigning to 'real' from incompatible type 'character'}}
+ Z(A) = 'Hello' ! expected-error {{returning 'character' from a function with incompatible result type 'real'}}
I = X(2) ! CHECK: i = int(x(2))
I = X() ! expected-error {{too few arguments to function call, expected 1, have 0}}