diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-01 06:49:39 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-01 06:49:39 +0000 |
| commit | ead9a05596f39a93df5ace5fd6f1aabf0adb94a9 (patch) | |
| tree | d17323630830ed8e057751829c59be22d1eaea4f /clang/test/Preprocessor/pragma_microsoft.c | |
| parent | 4fd4e6d75b5adb221945e05ae8e2cb92f475cec5 (diff) | |
| download | bcm5719-llvm-ead9a05596f39a93df5ace5fd6f1aabf0adb94a9.tar.gz bcm5719-llvm-ead9a05596f39a93df5ace5fd6f1aabf0adb94a9.zip | |
Revert r151800, which was committed without review and has correctness issues.
llvm-svn: 151804
Diffstat (limited to 'clang/test/Preprocessor/pragma_microsoft.c')
| -rw-r--r-- | clang/test/Preprocessor/pragma_microsoft.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/test/Preprocessor/pragma_microsoft.c b/clang/test/Preprocessor/pragma_microsoft.c index 88925ffdb27..b68d6e363eb 100644 --- a/clang/test/Preprocessor/pragma_microsoft.c +++ b/clang/test/Preprocessor/pragma_microsoft.c @@ -38,20 +38,3 @@ void f() // this warning should go away. MACRO_WITH__PRAGMA // expected-warning {{expression result unused}} } - - -// This should include macro_arg_directive even though the include -// is looking for test.h This allows us to assign to "n" -#pragma include_alias("test.h", "macro_arg_directive.h" ) -#include "test.h" -void test( void ) { - n = 12; -} - -#pragma include_alias("foo.h", <bar.h>) // expected-warning {{pragma include_alias requires matching include directives (e.g include_alias("foo.h", "bar.h") or include_alias(<foo.h>, <bar.h>))}} -#pragma include_alias("test.h") // expected-warning {{pragma include_alias expected ','}} - -// Make sure that the names match exactly for a replacement, including path information. If -// this were to fail, we would get a file not found error -#pragma include_alias(".\pp-record.h", "does_not_exist.h") -#include "pp-record.h" |

