aboutsummaryrefslogtreecommitdiff
path: root/flang/test/Semantics/resolve126.f90
diff options
context:
space:
mode:
Diffstat (limited to 'flang/test/Semantics/resolve126.f90')
-rw-r--r--flang/test/Semantics/resolve126.f907
1 files changed, 7 insertions, 0 deletions
diff --git a/flang/test/Semantics/resolve126.f90 b/flang/test/Semantics/resolve126.f90
new file mode 100644
index 0000000..6313f8c
--- /dev/null
+++ b/flang/test/Semantics/resolve126.f90
@@ -0,0 +1,7 @@
+! RUN: %python %S/test_errors.py %s %flang_fc1
+!ERROR: Attributes 'INTRINSIC' and 'EXTERNAL' conflict with each other
+real, external, intrinsic :: exp
+!ERROR: Symbol 'sin' cannot have both EXTERNAL and INTRINSIC attributes
+external sin
+intrinsic sin
+end