projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d8f52
)
Extra test for diagnostic in Sema::BuildCXXNestedNameSpecifier.
author
Eli Friedman
<eli.friedman@gmail.com>
Wed, 19 Jun 2013 22:58:30 +0000
(22:58 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Wed, 19 Jun 2013 22:58:30 +0000
(22:58 +0000)
llvm-svn: 184381
clang/test/SemaCXX/nested-name-spec.cpp
patch
|
blob
|
history
diff --git
a/clang/test/SemaCXX/nested-name-spec.cpp
b/clang/test/SemaCXX/nested-name-spec.cpp
index
228bc0e
..
f3c960c
100644
(file)
--- a/
clang/test/SemaCXX/nested-name-spec.cpp
+++ b/
clang/test/SemaCXX/nested-name-spec.cpp
@@
-307,3
+307,6
@@
namespace N {
};
}
}
+
+namespace TypedefNamespace { typedef int F; };
+TypedefNamespace::F::foo BadNNSWithCXXScopeSpec; // expected-error {{expected a class or namespace}}