aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2011-02-11 22:56:14 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2011-02-11 22:56:14 +0000
commit19834a6cfd047752c68451e6ded1a2950f6b1f44 (patch)
tree9d61cc356dc91b33ff673ba89e884aab6cbb55be /tests
parent8f74426ca5911529047348ff4731e7f5fbb49c67 (diff)
downloadsrc-19834a6cfd047752c68451e6ded1a2950f6b1f44.tar.gz
src-19834a6cfd047752c68451e6ded1a2950f6b1f44.zip
Import ACPICA 20110211.vendor/acpica/20110211
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=218585 svn path=/vendor-sys/acpica/20110211/; revision=218586; tag=vendor/acpica/20110211
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/badcode.asl31
1 files changed, 27 insertions, 4 deletions
diff --git a/tests/misc/badcode.asl b/tests/misc/badcode.asl
index 9b576c575594..59e8e2434437 100644
--- a/tests/misc/badcode.asl
+++ b/tests/misc/badcode.asl
@@ -165,6 +165,29 @@ DefinitionBlock ("badcode.aml", "DSDT", 1, "Intel", "Example", 0x00000001)
Name (_INI, 1)
Name (_PTP, 2)
+ // GPE methods that cause type collision (L vs. E)
+
+ Scope (\_GPE)
+ {
+ Method (_L1D)
+ {
+ }
+ Method (_E1D)
+ {
+ }
+ }
+
+ // Predefined names that should not have a return value
+
+ Method (_FDM, 1)
+ {
+ Return (Buffer(1){0x33})
+ }
+ Method (_Q22)
+ {
+ Return ("Unexpected Return Value")
+ }
+
/*
* Resource Descriptor error checking
*/
@@ -172,10 +195,10 @@ DefinitionBlock ("badcode.aml", "DSDT", 1, "Intel", "Example", 0x00000001)
{
// Illegal nested StartDependent macros
- StartDependentFn (0, 0)
- {
- StartDependentFn (0, 0)
- {
+ StartDependentFn (0, 0)
+ {
+ StartDependentFn (0, 0)
+ {
}
}