summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCLCXX/address-space-templates.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaOpenCLCXX/address-space-templates.cl')
-rw-r--r--test/SemaOpenCLCXX/address-space-templates.cl4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/SemaOpenCLCXX/address-space-templates.cl b/test/SemaOpenCLCXX/address-space-templates.cl
index 80762fce8a..48fbdc7642 100644
--- a/test/SemaOpenCLCXX/address-space-templates.cl
+++ b/test/SemaOpenCLCXX/address-space-templates.cl
@@ -4,9 +4,7 @@ template <typename T>
struct S {
T a; // expected-error{{field may not be qualified with an address space}}
T f1(); // expected-error{{function type may not be qualified with an address space}}
- // FIXME: Should only get the error message once.
- void f2(T); // expected-error{{parameter may not be qualified with an address space}} expected-error{{parameter may not be qualified with an address space}}
-
+ void f2(T); // expected-error{{parameter may not be qualified with an address space}}
};
template <typename T>