[cfe-commits] r61453 - in /cfe/trunk/test/Sema: dllimmport-dllexport.c dllimport-dllexport.c
Sebastian Redl
sebastian.redl at getdesigned.at
Sun Dec 28 06:19:36 PST 2008
Author: cornedbee
Date: Sun Dec 28 08:19:27 2008
New Revision: 61453
URL: http://llvm.org/viewvc/llvm-project?rev=61453&view=rev
Log:
Fix filename typo.
Added:
cfe/trunk/test/Sema/dllimport-dllexport.c (props changed)
- copied unchanged from r61452, cfe/trunk/test/Sema/dllimmport-dllexport.c
Removed:
cfe/trunk/test/Sema/dllimmport-dllexport.c
Removed: cfe/trunk/test/Sema/dllimmport-dllexport.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/dllimmport-dllexport.c?rev=61452&view=auto
==============================================================================
--- cfe/trunk/test/Sema/dllimmport-dllexport.c (original)
+++ cfe/trunk/test/Sema/dllimmport-dllexport.c (removed)
@@ -1,18 +0,0 @@
-// RUN: clang -fsyntax-only -verify %s
-
-inline void __attribute__((dllexport)) foo1(){} // expected-warning{{dllexport attribute ignored}}
-inline void __attribute__((dllimport)) foo2(){} // expected-warning{{dllimport attribute ignored}}
-
-void __attribute__((dllimport)) foo3(){} // expected-error{{dllimport attribute can be applied only to symbol declaration}}
-
-void __attribute__((dllimport, dllexport)) foo4(); // expected-warning{{dllimport attribute ignored}}
-
-void __attribute__((dllexport)) foo5();
-void __attribute__((dllimport)) foo5(); // expected-warning{{dllimport attribute ignored}}
-
-typedef int __attribute__((dllexport)) type6; // expected-warning{{'dllexport' attribute only applies to function or variable types}}
-
-typedef int __attribute__((dllimport)) type7; // expected-warning{{'dllimport' attribute only applies to function or variable}}
-
-void __attribute__((dllimport)) foo6();
-void foo6(){} // expected-warning {{'foo6' redeclared without dllimport attribute: previous dllimport ignored}}
Propchange: cfe/trunk/test/Sema/dllimport-dllexport.c
------------------------------------------------------------------------------
svn:mergeinfo =
More information about the cfe-commits
mailing list