Peter Collingbourne | 54d13b4 | 2018-05-30 03:40:04 +0000 | [diff] [blame] | 1 | // RUN: %clangxx -### -c %s -o %t.o -target x86_64-unknown-linux 2>&1 | FileCheck --check-prefix=NOFLAG %s |
| 2 | // RUN: %clangxx -### -c %s -o %t.o -target x86_64-unknown-linux -fcomplete-member-pointers 2>&1 | FileCheck %s |
| 3 | // RUN: %clangxx -### -c %s -o %t.o -target x86_64-unknown-linux -fcomplete-member-pointers -fno-complete-member-pointers 2>&1 | FileCheck --check-prefix=NOFLAG %s |
Peter Collingbourne | 4c2aa9f | 2018-05-30 04:08:34 +0000 | [diff] [blame] | 4 | // RUN: %clang_cl -### /c /Fo%t.o -target x86_64-pc-win32 -fcomplete-member-pointers -- %s 2>&1 | FileCheck %s |
Peter Collingbourne | 54d13b4 | 2018-05-30 03:40:04 +0000 | [diff] [blame] | 5 | |
| 6 | // CHECK: "-fcomplete-member-pointers" |
| 7 | // NOFLAG-NOT: "-fcomplete-member-pointers" |