Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/resources/semanticHighlighting/SHTest.cpp')
-rw-r--r--core/org.eclipse.cdt.ui.tests/resources/semanticHighlighting/SHTest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/resources/semanticHighlighting/SHTest.cpp b/core/org.eclipse.cdt.ui.tests/resources/semanticHighlighting/SHTest.cpp
index 8a86010d10c..2f4cdaf43d9 100644
--- a/core/org.eclipse.cdt.ui.tests/resources/semanticHighlighting/SHTest.cpp
+++ b/core/org.eclipse.cdt.ui.tests/resources/semanticHighlighting/SHTest.cpp
@@ -1,5 +1,6 @@
#define INT int
#define FUNCTION_MACRO(arg) globalFunc(arg)
+#define EMPTY_MACRO(arg)
enum Enumeration {
enumerator
@@ -11,6 +12,7 @@ static int globalStaticVariable = 0;
void globalFunc(int a);
static void globalStaticFunc() {
+ EMPTY_MACRO(n);
};
class Base1 {};
@@ -134,3 +136,7 @@ int f()
{
return n;
}
+
+//http://bugs.eclipse.org/220392
+#define EMPTY
+EMPTY int f();

Back to the top