Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] modifying the testcase by adding Mbackslash and Mnobackslash options together #1448

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shivaramaarao
Copy link
Collaborator

flang should use the last specified option when both these options are used. e.g Mbaskslash should be used when "-Mnobackslash -Mbackslash " arguments are specified.

@@ -8,6 +8,10 @@
! RUN: %flang -c -fno-backslash %s
! RUN: not %flang -c -Mnobackslash %s 2>&1 | FileCheck %s
! RUN: not %flang -c -fbackslash %s 2>&1 | FileCheck %s
! RUN: %flang -c -Mnobackslash -Mbackslash %s
! RUN: %flang -c -fbackslash -fno-backslash %s
! RUN: not %flang -c -Mnobackslash -Mbackslash -Mnobackslash %s 2>&1 | FileCheck %s
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the first instance of -Mnobackslash intentional? It doesn't match the pattern on other lines.

…ash and Mnobackslash options are passed.

flang should use the last specified option. e.g Mbaskslash should be used when
"-Mnobackslash -Mbackslash <filename>" arguments are specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants